Forum Discussion

JangoChained's avatar
JangoChained
Frequent Visitor
2 years ago
Solved

POST request with Power Query fails auth but needs to be Anonymous

The Web.Contents function needs to specify content for making a POST request, but can`t get auth right. I pass the credentials (APIKey) and it works on Postman, but if I do it anonymous in PB it fail...
  • JangoChained's avatar
    JangoChained
    2 years ago

    Hi Nono, thx for the help. I was close enough, i just needed to ajust my query. This is the solution I got, the apiKey is in the body because I did it with x-www-form-urlencoded, from my testing in Postman (because this is a call to a custom function in an API).

     

    ā€ƒ