Forum Discussion
Anonymous
3 years agoNot applicable
Unable to send POST request in Web.Contents
Hi, I need to retrieve employee data from an API that's only accessible to authorized users. First, I send a POST request using client credentials to obtain a bearer token and then it can access the...
cpwebb
3 years agoMicrosoft Employee
For more complex authentication flows (such as OAuth2) you need to build a custom connector, because the necessary functionality is only available there. See https://blog.crossjoin.co.uk/2021/08/29/connecting-to-rest-apis-with-oauth2-authentication-in-power-query-power-bi/ for more details.
Chris