I have this cURL command that I must adapt to Powershell in order to upload different files. In order to do that, I have mandatory fields that I need use in the request. I've tried like a dozen of different scripts, nothing works.
Can someone help me out with this? It should be plain simple, but I am missing something.
cURL command:
curl -H "Authorization: Bearer xxx"
-F "parentDirectoryId=1"
-F "name=AutoUpload"
-F "contents=@C:\temp\test.pdf"
https://url/v1/api/files?