The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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, that mean i have to put the refesh token in the body of the request, but I am stumped how to do that.
I have tried {"refresh_token" : "123456789abcd"}, and any variants i could think of, but it keep coming back with the error "no refresh token"
I have also tried :
Solved! Go to Solution.
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 🙂 )
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 🙂 )
Hi @smeetsh
Glad that you query got resolved and thank you for sharing the same with the community as it can be helpful to others.
Please continue using Fabric Community for further queries.
Thank you.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
14 | |
3 | |
2 | |
2 | |
1 |