Forum Discussion
Anonymous
4 years agoNot applicable
Connecting to API
Hi experts, I am trying to connect PowerBI to API. I a doing this for the first time, so not sure how to proceed. Looking for your guidance. This is the URL I am trying to connect. https://l...
- Anonymous4 years ago
Anonymous Great, the idea was only to pass the credential in the body and not in header as you were doing earlier.
Anonymous
4 years agoNot applicable
Anonymous Try to do it from advance editor query and Put the code as below. Power BI is taking your request as a GET request instead of POST request so you need to create it as a post request.
You are passing these values in Headers but these should be passed in the body part.
Anonymous
4 years agoNot applicable
Thank you Anonymous, I will check this and get back.
- Anonymous4 years agoNot applicable
Anonymous did it work for you?
- Anonymous4 years agoNot applicable
Anonymous I had encountered some other issue. So i created it as a function and called the function.
- Anonymous4 years agoNot applicable
Anonymous Great, the idea was only to pass the credential in the body and not in header as you were doing earlier.