How do I use invoke-webrequest with basic authentication header in PowerShell? or What's the correct

14 Replies, 1150 Views

OP here—huge thanks to everyone! The `-Authentication Basic` flag was the magic fix. No idea why I missed that in the docs.

Still weird that the manual header didn’t work, but hey, it’s running now.

Side note: Tried Postman like someone suggested, and yeah, it confirmed the server’s fussy about casing. Learned my lesson!

Thanks again, y’all saved my sanity.

Messages In This Thread



Users browsing this thread: 1 Guest(s)