I’m attempting to POST to a uri, and send the parameter username=me

Invoke-WebRequest -Uri http://example.com/foobar -Method POST

How do I pass the parameters using the method POST?

4 Answers
4

Leave a Reply

Your email address will not be published. Required fields are marked *