Introduction
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{"result": true,"data": {"firstName": "John","lastName": "Smith"}} |
"testPost" API: Success
This API is exactly like testGet but uses the "post" method.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
curl -X POST -H "Content-type:application/json" -H "Accept:application/json" "http://127.0.0.1:4010/testPost" -d '{"firstName":"John","lastName":"Smith","email":"john@smith.com"}' |
...