Skip to content

Instantly share code, notes, and snippets.

@refactornator
Last active January 17, 2021 11:04
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save refactornator/5083161 to your computer and use it in GitHub Desktop.
Save refactornator/5083161 to your computer and use it in GitHub Desktop.
Upload a CSV file in the body of a HTTP POST request.
product price quantity
widget1 19.95 10
widget2 24.00 20
widget1 12.00 40
curl -v --user username:password 'https://localhost:8443/zoomdata-web/service/upload?source=MySource' \
-X POST \
-H 'Content-Type: text/csv' \
-d @MyData.csv \
--insecure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment