Statuses/update API response 401 error


#1

please tell me!
i created Authorization in header.
and requested statuses/update.json api.
but result response was 401 error.
what wrong?

created OAuth Header Values :
oauth_consumer_key="[my consumer key]",
oauth_nonce=“3e7c98c9c6a13678bff4c2ea23f1578a”,
oauth_signature=“YAVLKXlzcoY0L%2Fzo%2Bosl7NaB9zU%3D”,
oauth_signature_method=“HMAC-SHA1”,
oauth_timestamp=“1327030092”,
oauth_token="[my access token]",
oauth_version=“1.0”

created signature string values :
POST&https%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses%2Fupdate.json&include_entities%3Dtrue%26oauth_consumer_key%3D[my consumer key]%26oauth_nonce%3D3e7c98c9c6a13678bff4c2ea23f1578a%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1327030092%26oauth_token%3D[my access token]%26oauth_version%3D1.0%26status%3D%2540ApplicationLCL%2520Java%2520API%2520Test%2520RRRRRRRRRRRRR%2520.


#2

Is the POST body you’re sending exactly:
status=%40ApplicationLCL%20Java%20API%20Test%20RRRRRRRRRRRRR%20

And are you include include_entities=true in the POST body or in the URL?

The actual basestring and request look correct at first glance.


#3

I checked Request body.

status data was appended wrong strings(") in request body.

when i deleted this string, work!!

Thanks!!:slight_smile: