Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How do I change this from Linux to Windows

What I have tried:

curl -k --location --request POST 'https://xxxxxx' \
--header 'Content-Type: multipart/form-data' \
--form 'client_api_key=xxxxxxxxxxxxxxxxxxx' \
--form 'bucket=sg03XXXXXXX' \
--form 'folder=/XXXXXX/YYYYMMDD/' \
--form 'files[]=@/tmp/test_file_upload.txt'
Posted
Updated 24-Aug-22 22:20pm
Comments
Richard MacCutchan 25-Aug-22 3:56am    
Change it in what way?

1 solution

Install curl on Windows, and you probably won't need to change anything.

NB: You may not even need to install it. If you're on Windows 10 v1803 or later, you already have curl. If you have Git for Windows installed, that comes with a copy of curl as well.

If you don't meet either of those requirements, you can download the Windows version from the curl site: curl for Windows[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900