Why is my Invoke-RestMethod JSON body being rejected?
I'm converting a curl POST to Invoke-RestMethod. The curl body is an array of objects, but my PowerShell version uses a here-string with one object piped to ConvertTo-Json.…
I'm converting a curl POST to Invoke-RestMethod. The curl body is an array of objects, but my PowerShell version uses a here-string with one object piped to ConvertTo-Json.…