Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 406 Bytes

post.md

File metadata and controls

30 lines (19 loc) · 406 Bytes

Body - JSON

Returns the raw data, in JSON format, passed in the request body.

  • URL

/post

  • Method

POST

  • Body

{"someKey":"someValue"}

  • Expected Responses

    • Success
      • Code: 200
      • Body: {"someKey":"someValue"}
  • Sample Call

curl --location
--request POST 'URL/post'
--header 'Content-Type: application/json'
--data-raw '{"someKey":"someValue"}'