Created
October 19, 2020 08:09
-
-
Save namgivu/0e73f1eda4381b55126f5517194033af to your computer and use it in GitHub Desktop.
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
curl -s -o /dev/null -w "%{http_code}" -X POST https://reqbin.com/echo/post/json <<EODATA | |
{ | |
"Id": 78912, | |
"Customer": "Jason Sweet", | |
"Quantity": 1, | |
"Price": 18.00 | |
} | |
EODATA | |
shoud_have=' | |
200 | |
' | |
ref. https://reqbin.com/req/v0crmky0/rest-api-post-example |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment