Jump to content

arnereu

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by arnereu

  1. 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
  2. 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
×