Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I've an API secured with OAuth, how can I pull data from using PBI data flow. kindly find below an example of parameters I am using to connect to this API services
URL = 'https://sample.com/ws/schema/query/student_list'
Headers = @{ 'Authorization' = "Bearer $token" }
Method = POST
ContentType = 'application/json'
So does PowerBI support API with method Post for return JSON ? How Can I connect to this API service ?
Solved! Go to Solution.
Yes, Web.Contents() with a data payload in the Content section switches from GET to POST.
Web.Contents - PowerQuery M | Microsoft Docs
Yes, Web.Contents() with a data payload in the Content section switches from GET to POST.
Web.Contents - PowerQuery M | Microsoft Docs