Forum Discussion
mohammed_essam
5 years agoHelper I
Connect to API OAuth using PBI Data Flows
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 ?
Yes, Web.Contents() with a data payload in the Content section switches from GET to POST.
Web.Contents - PowerQuery M | Microsoft Docs
1 Reply
- lbendlinSuper User
Yes, Web.Contents() with a data payload in the Content section switches from GET to POST.
Web.Contents - PowerQuery M | Microsoft Docs