Forum Discussion
POST request and refresh time on bearer token API
Hi jjr10 ,
If you want to make a POST request to a web service through Power Query, you have to add the relevant data in the “Content”-parameter of the query. And you can use Json.FromValue which provides a super-easy way to create POST-calls to web services that require JSON format in their body parameters.
And about the bearer token resets every 7200 seconds, you can refer to the following links which may be helpful to you.
Solved: Bearer Token expires, how to get new token - Power Platform Community (microsoft.com)
Solved: POST Request Error - Microsoft Power BI Community
Easy POST requests with Power BI and Power Query using Json.FromValue – The BIccountant
Best Regards,
Community Support Team _ xiaosun
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.