I'm doing some initial testing of an API call, just trying to get a new integration working. I'm new to the Box API...
I have a solution I'm creating (it is NOT a web-based app, but has the capability to set cURL options and call URLs). I *think* I have my Post data object correct...but, my initial tests were resulting in an Error = 400 response. Unfortunately, I can only read the response Header on this platform, not the response Body - so I can't see detailed error messages.
So I switched over to using Postman, just to try and get some basic tests working. I am also getting a 400 error over there - but the detailed message says that it is a bad 'grant_type'...but it really looks like I have correctly defined & populated the 'grant_type'.
Here's an example of the Postman call... yes, a couple of the keys are empty, but I get the same result even when they are filled in; I have also tried this call with Grant_type = 'authorize', and get the same error.
Thanks for any hints or guidance on how I could get this working.