Created
November 1, 2018 16:38
-
-
Save NISH1001/c362066fdf3c0523c471ee30ae03dc20 to your computer and use it in GitHub Desktop.
curl requests
This file contains hidden or 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
# POST simple text | |
curl -XPOST localhost:8000/test --data "i am paradox" -H "Content-Type: text/plain" | |
# POST JSON | |
# GET | |
curl -XGET localhost:8000/test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment