Response body verification
POST {{baseUrl}}/post
This request uses tests to verify both the structure (existence and type of individual properties) and exact values of the response data.
Use
pm.expect(subject)
to wrap test subjects, and
Chai
for assertions.
Request Body
{"title"=>"Sapiens", "author"=>"Yuval Noah Harari", "published"=>2011}
HEADERS
| Key | Datatype | Required | Description |
RESPONSES
status: ``