08-05-2019 02:18 AM
hi
i request to cisco api to get access token but i got response 401 and {"error_description":"Invalid client or client credentials","error":"invalid_client"}
(i have client_id and client_secret)
my code:
curl -i -H "Content-Type: application/x-www-form-urlencoded" -X POST 'https://cloudsso.cisco.com/as/token.oauth2' -d "client_id=dtztp2tr4gz8cxwy52bgddc2" -d "client_secret=4aEdtxJRNArVxuYjHsGuKDDU" -d "grant_type=client_credentials"