Forum Discussion

appsac1's avatar
appsac1
Helper I
4 years ago
Solved

Trouble with an API that requires a key

So I am having trouble with an api that require a key.  In Power BI I go to det data from web, I enter the api web address/query hit ok. Then I hit Web API I enter my key then hit connect.  The error...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi appsac1 ,

     

    I think you can try "Advanced" function in Web connector. Add Authorization in Http request header and then add Bearer token into the checkbox, it looks like below.

    For reference:

    Bring Data In Power BI Via APIs Using Basic Authentication

    Here is a solved post with similar requirement like yours, I hope it could help you solve your problem.

     

    Best Regards,
    Rico Zhou

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.