Hi,
I am trying to post a text containing a ‘*’ and surprisingly I am getting an error:
“code”: 32,
“message”: "Could not authenticate you."
I am using a Postman client and I am sending data as a request body “x-www-form-urlencoded”. I am providing the user_id parameter and text = " óę * "
This should be working.
Maybe the problem is with authentication. So I have a couple of questions:
- During the calculation of oauth signature should I take into account also a body parameters?
- If yes - should I encode an asterisk into %2A?
- Should I encode a body entity so that it sends a %2A to Twitter? Or send it with * not a %2A?
If I will use multipart/form-data instead of x-www-form-urlencoded I can post a text like:
:/?#[]@!$&’()*+,;=-._~
without even a small problem.