Access tokens
Posted: Wed Sep 11, 2013 3:04 pm
Hi all,
Did anyone have any success generating the access token using the wget command:
wget --no-check-certificate --header='Authorization: Basic <base64_string>' --header='Content-Type: application/x-www-form-urlencoded' <https_access_token_url>
and
wget --no-check-certificate --header='Authorization: Basic <base64_string>' --header='Content-Type: application/x-www-form-urlencoded' <https_access_token_url?grant_type=client_credentials>
I keep on getting a 400 error.
I also read one of the posts and tried the httprequester add-on for firefox and get the following error:
POST <https_access_token_url?grant_type=client_credentials>
Authorization: Basic <base64_string>
Content-Type: text/xml
-- response --
400 Bad Request
Content-Type: application/xml
WWW-Authenticate: Basic
Content-Length: 91
Connection: keep-alive
<error><code>400</code><message>Required param : grant_type</message>
</error>
Has anyone had any success generating the access token? If you did, which method did you use?
Thanks for any replies!
Did anyone have any success generating the access token using the wget command:
wget --no-check-certificate --header='Authorization: Basic <base64_string>' --header='Content-Type: application/x-www-form-urlencoded' <https_access_token_url>
and
wget --no-check-certificate --header='Authorization: Basic <base64_string>' --header='Content-Type: application/x-www-form-urlencoded' <https_access_token_url?grant_type=client_credentials>
I keep on getting a 400 error.
I also read one of the posts and tried the httprequester add-on for firefox and get the following error:
POST <https_access_token_url?grant_type=client_credentials>
Authorization: Basic <base64_string>
Content-Type: text/xml
-- response --
400 Bad Request
Content-Type: application/xml
WWW-Authenticate: Basic
Content-Length: 91
Connection: keep-alive
<error><code>400</code><message>Required param : grant_type</message>
</error>
Has anyone had any success generating the access token? If you did, which method did you use?
Thanks for any replies!