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?

It relates to this site:
I want to request stuff like this:
Invoke-Webrequest -Uri "" -WebSession $websession
with different numbers, about 10M times

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