How to use CURL/CygWin to send files from local Windows machine to Server?
After opening cygwin.
step 1 - CD into the directory that contains the file you would like to post via CURL:
cd ../cd /cygdrive/c/Users/[put user name here]/Documents/[more directories here]/
Note: The strange part is having to go through the "cygdrive" directory.
step 2 - Use CURL to send the file:
curl -X POST http://mywebsite.com/path/to/directory -d @some_file.extension -H "Content-Type: application/json"
Replace "mywebsite.com...", "some_file.extension" and "application/json" with actual values.