-
-
Save edorgeville/d3c1320af46062944353 to your computer and use it in GitHub Desktop.
Upload a CSV file in the body of a HTTP POST request.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
product | price | quantity | |
---|---|---|---|
widget1 | 19.95 | 10 | |
widget2 | 24.00 | 20 | |
widget1 | 12.00 | 40 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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