Product: PowerShell Universal Version: 5.0.14
@Adam Driscoll I’m submitting this here since I don’t know where else to put it - it’s primarily a request for more information on how to best utilize our endpoints.
-InFile to submit the file with IWR, but in one case, we are going to retrieve the byte[] of the file within a script before submitting to that same endpoint. Can we directly submit the byte[] of the file to the -Body param of IWR and expect the same behavior, being able to parse $Data in the endpoint’s code? If not, what’s the best way to ensure similar behavior?New-PSUApiResponse cmdlet.Thanks in advance!
ZG
Recommended Answer