Answer the question
In order to leave comments, you need to log in
API integration issue, getting 401 error?
https://api.daxko.com/v3/docs/api/index.html#membe...
- I'm integrating this API, I can't understand why I'm not getting HTTP 200 OK, after sending a request with data, I get an error 401 Unauthorized
If you authorize with the same data directly through the site, then everything is in order - authorization to the account is successful
UDP:
If you send a request in this way, it issues an invalid request, what's wrong here?
curl -XPOST https://api.daxko.com/v3/partners/oauth2/token
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJqY2NfZ3JlYXRlcl9vcmxhbmRvX3Byb2QtYXV0aCIsInN1YiI6ImpjY19ncmVhdGVyX29ybGFuZG9fcHJvZCIsImlhdCI6MTYyNjQ2MDcxOSwiZXhwIjoxNjI2NDYwNzE5LCJhcGkiOiJvcHNfYXBpX3YyX2F1dGgifQ.csTnnAYmr1njEd7ZwzJB0ItARSQRB-GUT4JfBXZz-js"
-F "grant_type=client_credentials"
-F "client_id=jcc_greater_orlando_prod"
-F "clien_secret=UZC2SFkRwHpdhFFes3memA4eNhdcLQSs"
-F "scope=client:9999"
Answer the question
In order to leave comments, you need to log in
https://api.daxko.com/v3/docs/tutorials/authentica...
If you haven't already been granted access to the Daxko Operations API, you should contact your sales representative and request access. Once this step has been done, you should have a username, password and refresh token for your API account. You will need this information to authenticate to the API.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question