新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

always getting Invalid grant_type parameter or parameter missing but works on postman

新規投稿

コメント

2件のコメント

  • BobFlynn-IU

    ,

     

    You'll have better luck getting a response posting this to the Box Developer Forum.

     

    Bob

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

    You're setting the wrong content-type. You set it to 

    "Content-type": "application/x-www-form-urlencoded; charset=UTF-8"

    but you're sending json so it should be

    "Content-type": "application/json"

    If you want to send urlencoded data instead of json then the data should look like:

    grant_type=authorization_code&code=code&client_id=CLIENT_ID&client_secret=CLIENT_SECRET

     

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

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