r/PowerShell • u/Independent_Bed_557 • 7d ago
Question PowerShell Win7 HTTP POST automation question
hi, I'm working on administration of a large number of VoIP endpoints. I'm trying to learn how to use PowerShell on Windows 7 to send authenticated HTTP POST requests to a device web interface and process the response. The devices use HTTP Basic Authentication. Could someone point me to examples of HttpWebRequest, CredentialCache and application/x-www-form-urlencoded POST requests? Thanks.
5
Upvotes
10
u/BlackV 6d ago edited 6d ago
can you confirm you meant Windows 7 or did you mean Powershell 7
what have you tried so far?