Convert cURL to powershell (again) RRS feed

  • Question

  • Sorry All,

    I've checked previous posts on this kind of question to no avail.  We need to regularly upload a .csv file to a company that maintains a sign-in system for our offices (so staff list is kept current).  The company recommends using cURL but our security guy doesn't like the installation of non-Microsoft software so I'd like to convert the following to powershell:

    curl -F "file=@HostsFile.csv" "" -H "X-Sine-Api-Key: (api key)"

    Any assistance gratefully received.


    Wednesday, October 9, 2019 12:11 AM

All replies