Forum Discussion
Connecting to API
- 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 that is a great suggestion, I was able to move to the next stage, but encountering a different issue. Is this something to do with the parameters I am passing? Any suggestion on this?
This is the screenshot of parameters I'm passing.
This is the error I am getting
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.
- Anonymous4 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.