Unable to get Refresh Token for file upload API
AnsweredHi Team,
by main aim is to write script for uploading file to box programatically. I found good article regarding this in code project @ http://www.codeproject.com/Tips/769414/Uploading-files-using-Box-API
however, as mentioned in that article, and other articles in box, i am supposed to create Refresh Token. However, i couldnt able to. I tried postman client app to get this. But there after providing required URL and parameters i am getting bad request error.
To do this, i follwed section Getting the Access Token from url https://developers.box.com/oauth/
Please help me out in finding a workable script for uploading a file thru API
-
Hi there!
Thanks for reaching out!
To be able to complete the OAuth process to obtain your first set of tokens, you will need to interact with your browser. Postman doesn't create a full-browser experience, so you're unable to use it to complete the full process around obtaining tokens.
Last week, I wrote a response to a question about obtaining tokens that I think you may find useful to help step through the process of obtaining your first pair of tokens. Once you have your tokens, we also have an official set of documentation for uploading files using the API and links to a few different SDK's here if you'd prefer to go that route.
Hopefully that helps get you started!
- Tony
-
Hey tony-at-box, the link you gavefor your "response to a question about obtaining tokens" directs to an unanswered question. Was your response there deleted or is it available elsewhere?
-
He might be referring to this post:
Please sign in to leave a comment.
Comments
3 comments