Forum Discussion
shocko
6 years agoFrequent Visitor
Query RestAPI with POST
I have a RestAPI that returns data but requires a GET to some endpoints and a POST to others. Can PowerBI send HTTP POST to a Web Data or OData data source?
- 6 years ago
Hi shocko ,
Yes, you can achieve it, please refer to this:
Web Services And POST Requests In Power Query
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
blopez11
6 years agoSuper User
Yes, you can force an HTTP post by using the Content parameter of Web.Contents, please see https://docs.microsoft.com/en-us/powerquery-m/web-contents
Good luck,
blopez11
6 years agoSuper User
You can take a look at the following for further reference: https://community.powerbi.com/t5/Desktop/How-to-run-POST-request-in-M/td-p/457138