Hi, i want to Post a request for getting the access token.
how to send the request to Server.
With curl, the request will be similar to:
curl https://api.betable.com/1.0/token
-u ApI_Key:ApI_Secret
-d code=code_you_got_back
-d grant_type=authorization_code
-d redirect_uri=http://your-redirect-uri/
-X POST
here i have Api _Secret,code,redirect url every thing.
but by using java script how to write the condition ?
what is this curl method ?
Thank you,