Is it possible to pass along a byte array as apart of a post request using
I have a Byte Array in memory that I want to send along using the
-Form parameter of
Invoke-RestMethod (PS7). The alternative is to save it to disk (which I want to avoid) first, then use
Get-Item to return an object of [System.IO.FileInfo], which
Invoke-RestMethod automatically processes and submits the binary data, how would you do this manually?