I am making a POST HTTP call on the following URL to extract the access token after receiving the authorization code …
https://www.box.com/api/oauth2/token?grant_type=authorization_code&client_id=CLIENT_ID&client_secret=CLIENT_SECRET&code=CODE&redirect_uri=http%3A//localhost
The response I am getting is the following JSON ...
{"error":"invalid_request","error_description":"Invalid grant_type parameter or parameter missing"}
Could someone please help me out? My registered redirect URI is http://localhost