Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
shocko
Frequent 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?

1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

Hi @shocko ,

 

Yes, you can achieve it, please refer to this:

Web Services And POST Requests In Power Query 

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
v-lionel-msft
Community Support
Community Support

Hi @shocko ,

 

Yes, you can achieve it, please refer to this:

Web Services And POST Requests In Power Query 

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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? 

Hi @shocko ,

 

You mean changing the HTTP request method in the UI interface of the web connector?

jjj3.PNG

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yes, there does not appear to be an option to set method to POST here. 

blopez11
Super User
Super 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,

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

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors