Forum Discussion
Does power query work with Cookies
- Anonymous5 years ago
Cookie is a part of the Headers. I've got this working in Postman. I have a screenshot but don't seem to have an option to upload it here.
Is there anything different, I can do with this code:
let
Cookies= Web.Contents("https://Domain/CloudAssessmentService/api/cookie", [Headers =[Authorization= "Bearer "&TokenMethod("password", "token", "code")[access_token], #"Content-Type" = "application/json"]]),CookiesResponse = Cookies,
apidata = Json.Document(Web.Contents("https://domain/api/software", [Headers =[Authorization= "Bearer "&TokenMethod("password", "token", "code")[access_token], Cookie="CookiesResponse"]]))
in
apidata
Its been quite some time and I'm still trying to get information on this. I know we would go out of vacation soon or some would already be on vacation. I would appreciate any inputs before we all head out to our vacation.
Wishing you all happy holidays.