Analytics API and oauth authorization
Hi - I'm trying to start pulling data from the analytics API but am falling at the first hurdle, trying to get an authorization token.
I'm following the instructions here:
analytics-1.4-apis/auth_client_credentials.md at master · AdobeDocs/analytics-1.4-apis · GitHub
However when I submit the request I always get the response "The grant type was not specified in the request"
Any idea what I might be doing wrong?
This is what I'm entering into curl (with a client ID and secret from a recently registered app):
$ curl -i -v "https://api.omniture.com/token" -u 'YOUR_CLIENT_ID:YOUR_CLIENT_SECRET' -d "grant_type=client_credentials"
Thanks