DEV Community

sm-a
sm-a

Posted on

eBay get access token with Axios don't work

When I execute the following code I get the following error message: grant type in request is not supported by the authorization server
What I am doing wrong?

Top comments (1)

Collapse
 
perkinsjr profile image
James Perkins

If I remember correctly content type is Content-Type: application/json
and not x-www-form-urlencoded.