Skip to content

Instantly share code, notes, and snippets.

@rafamdr
Created October 19, 2020 16:16
Show Gist options
  • Save rafamdr/a4e9de3526800b871462cacaf2762afc to your computer and use it in GitHub Desktop.
Save rafamdr/a4e9de3526800b871462cacaf2762afc to your computer and use it in GitHub Desktop.
cURL cmd to send file to a page with a component called "uploadfile"
curl -i -X POST -L --insecure --progress-bar -o sending_output.txt -H 'Content-Type: multipart/form-data' -F 'uploadfile=@./b.bin' localhost:8001/demo/upload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment