Forum Discussion
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?
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.
6 Replies
- blopez11Super 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,
- blopez11Super 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
- v-lionel-msftCommunity Support
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.
- shockoFrequent Visitor
Thanks for the link! Is there anywhere to raise feature requests for PowerBI. Obstensibly one would think we should be able to do this within the web connector UI natively?
- v-lionel-msftCommunity Support
Hi shocko ,
You mean changing the HTTP request method in the UI interface of the web connector?
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.