Forum Discussion

smeetsh's avatar
smeetsh
Icon for Continued Contributor rankContinued Contributor
2 years ago
Solved

How to pass a refresh token using post methode in body

Hi All,   EDIT: sorted, please see my own answer   I need to use a refresh token to get an acces topen, to get data from an API. The API forces me to use the post methode and as far as i know, th...
  • smeetsh's avatar
    2 years ago

    I managed to sort it out, eventually postman was my friend.  After setting it up in the gui i clicked on the code snippet column on the right  and selected http from teh dropdown

     

    That provide the raw output you will need for the body, in my case as simple as:

    refresh_token=abc12345678

     

    no need for ', ", or {}

     

    (My output was origincally set to curl, I guess i learned some postman today 🙂 )