Forum Discussion
Ballzer0
6 years agoNew Member
POST to Rest API while being authenticated with Organizational account
when i do a request like this let Kilde = Web.Contents("https://myAPI.com/that/requires/organizational/account", [Content=Text.ToBinary("json goes here")]) in Kilde ill get an error saying ...
DataChant
6 years agoMost Valuable Professional
Hi Ballzer0,
Do you need to login to your account via the browser in order to get access? This is not supported by Power Query. Ideally, you would have an access token that can be used inside Web.Contents.
miguel published a great blog post that explains it:
https://www.poweredsolutions.co/2017/01/24/connecting-to-apis-with-power-bi-power-query-part-1-of-2/
Hope it helps,
Gil