requestBodyEquals

Adds a matcher to require the request body object to be exactly equal to the specified object.

Return

This specification instance for fluent chaining.

Parameters

requestObject

The object that the request body must equal.


Adds a matcher to require the request body string to be exactly equal to the specified value.

Return

This specification instance for fluent chaining.

Parameters

payload

The exact string the request body must match.