question

HarryCoenen-9384 avatar image
0 Votes"
HarryCoenen-9384 asked

Session Cookies Invoke-WebRequest

Invoke-Webreuest (Powershell 7 and 5) does not return session cookies, neither in the SessionVariable nor in de Response Headers.
Can make it work by manually adding the required cookies from a browser to the one cookie retrieved from the SessionVariable, after which the request works OK.

Are there other options?

Details:
It relates to this site:
https://www.wozwaardeloket.nl
I want to request stuff like this:
Invoke-Webrequest -Uri "https://www.wozwaardeloket.nl/wozwaardeloket-api/v1/wozwaarde/wozobjectnummer/094600003846" -WebSession $websession
with different numbers, about 10M times

windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers