Skip to content

Instantly share code, notes, and snippets.

@refactornator
Last active December 11, 2015 10:29
Show Gist options
  • Save refactornator/4587444 to your computer and use it in GitHub Desktop.
Save refactornator/4587444 to your computer and use it in GitHub Desktop.
An example of how to upload data to the Zoomdata Upload API. Send an HTTP POST to your Zoomdata Server that contains a JSON object in the request body.
curl -v --user username:password 'https://localhost:8443/zoomdata/service/upload?source=API%20Test' \
-X POST \
-H 'Content-Type: application/json' \
-d '{"product":"widget", "price":"19.95", "quantity":10}' \
--insecure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment