Created
March 16, 2015 14:20
-
-
Save virullius/d250aae0b4e86cdd7015 to your computer and use it in GitHub Desktop.
POST with curl
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
# as commonly seen elsewhere, -X POST is unneccesary because --data triggers POST method to be used | |
curl --header "Content-Type: application/json" --data "[\"Testing\":\"Logging\"}" http://example.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment