Forum Discussion
How to import data into Power BI Desktop using the Rest API using Basic Authentication
Needs more information. How do you actually authenticate against the API? Usually you need to use anonymous here, and specify the authentication details in the request header.
- rajenderreddy4 years agoRegular Visitor
Hi Ibendlin,
Thanks for replying on my problem. I just use the URL in the Basic and choose the Basic Authentication and enter my GUID in username and password.
How can I specify the authentication details in the request header?
Can you please post an example.
Also I have tried same method in Microsoft Excel to get the data from API via Web option and entering the URL and basic authentication. But it didnt work for me.- lbendlin4 years agoSuper User
You need to BASE64 encode your username and password.
Basic Authentication (Encode Credentials to Base 64) | API Connector (mixedanalytics.com)
- rajenderreddy4 years agoRegular Visitor
Hi,
I have tried as you mentioned but still I get the error. Please see the attachments for error and how I am trying to connect.