What is the resolution for obtaining an access token via POSTMAN for the BOX API?

新規投稿

コメント

1件のコメント

  • aclark1

    Hi , I use PostMan to obtain dev access tokens in the following way:

    1.  I construct a URL with my client Id as a url Param as follows:

     

    and save that as a request but really it's just so that I can copy and paste the url into a browser, login to box and in the address bar the token will be returned, which I copy and use in the next step in postman.

     

    2. I then create another POST request with the following URL: 

     

    and the following header:

    • Content-Type Application/x-www-form-urlencoded
    • Accept application/json

     

    and the following body elements:

    • grant_type authorization_code
    • client_id [CLIENT ID]
    • client_secret [CLIENT SECRET]
    • code [THE CODE YOU WOULD HAVE COPIED AT THE END OF STEP 1]

     

    once you send this request you will be returned a dev access token.

     

    Hope that helps.

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。