Skip to content

Instantly share code, notes, and snippets.

@moraisaugusto
Last active January 27, 2020 11:29
Show Gist options
  • Save moraisaugusto/8288791da391c5a01efe8ae6bf5616e9 to your computer and use it in GitHub Desktop.
Save moraisaugusto/8288791da391c5a01efe8ae6bf5616e9 to your computer and use it in GitHub Desktop.
Multidata POST using cURL
curl -i -X POST -H "Content-Type: multipart/form-data" \
-F "file=@/home/USERNAME/YOUR_FILE_HERE.xlsx \
-F "param1=4" \
-F "param2=CALCULATED" \
-F "period=1" \
-F "effective_date=2020-31-31" \
http://localhost:8080/entrypoint_x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment