I'm using Twitter's REST API to authorize an app. I just authorized the app with
and got an oauth_verifier from the redirect uri.
Then I just used
to get an access_token.
The problem is that the format of response I got from this method is text/plain
. It's just like
oauth_token=783897656863051776-5hQfcJTv4FzFpPcyVRbnjPUbJXR29&oauth_token_secret=MViTPOOCaHNZrW6HTIFZ340bq1rutJKL8oqkBxRp2aiW&user_id=783897656863051776&screen_name=sWest&x_auth_expires=0
My query is that how to get the response in application/json format
.
Any help will be appreciated !!!