Last active
December 14, 2015 07:29
-
-
Save sweenzor/5051147 to your computer and use it in GitHub Desktop.
POST json file to endpoint using 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
curl -i -H "Accept: application/json" -H "Content-type: application/json" --data @test.json http://localhost:5033/match |
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 -i -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"key":1}' http://localhost:4449/tags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment