arnereu 0 Posted September 28, 2022 Hi, i would be very happy if someone could maybe help me with this. I am trying to send a file (.csv) using NetHTTPRequest and PUT. It has to be PUT because the server doesn't accept anything else. I also need an api to log in. In Powershell it would look like this: The Client would be d329krpq (for example). Invoke-WebRequest ` -UseBasicParsing ` -Uri https://example.com/d329krpq/filename.csv ` -Method PUT ` -InFile filename.csv ` -Headers @{'x-api-key'='lXViWTzFic9sM8Qqe9Ew7JME8xTdBAOMJHdIjK7XkjQ00OWr'} Thank you very much! Arne Share this post Link to post
Fr0sT.Brutal 900 Posted October 10, 2022 Start with reading docs then write code in accordance and post it here if you experience any errors. Why expecting someone writes code for you Share this post Link to post