Forum Discussion
Anonymous
4 years agoNot applicable
how to get cookies from a request to an API?
I am making a request to an endpoint that returns a cookie in the headers, I will use said cookie later in a request that I will pass said cookie as a header. So the steps I need to take are: 1. M...
sdomingues
1 year agoFrequent Visitor
Did you manage to do this? I'm basically trying the same thing and I can't see the response header token anywhere.
- Anonymous1 year agoNot applicable
I did give up on this -- all suggestions did not work.
If you figure this out --> tell me- sdomingues1 year agoFrequent Visitor
I did it by implementing a custom connector and using it as datasource, it's not that hard. Check this urls:
https://learn.microsoft.com/en-us/power-query/creating-first-connector
https://learn.microsoft.com/en-us/power-query/handling-authentication#authentication-kinds
note that you'll need to create an on-premises data gateway in order to be able to schedule refreshes for that report in power bi service, check this url:
https://learn.microsoft.com/en-us/power-bi/connect-data/service-gateway-custom-connectors