11
Powershell v3 Invoke-WebRequest HTTPS error
Menggunakan Invoke-WebRequest dan Invoke-RestMethod Powershell v3 saya telah berhasil menggunakan metode POST untuk mengirim file json ke situs web https. Perintah yang saya gunakan adalah $cert=New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("cert.crt") Invoke-WebRequest -Uri https://IPADDRESS/resource -Credential $cred -certificate $cert -Body $json -ContentType application/json -Method POST Namun ketika saya mencoba menggunakan metode GET seperti: Invoke-WebRequest -Uri …
126
.net
rest
powershell
https