requestBodyEqualsJson

Adds a matcher that requires the request body string to exactly match the specified JSON payload.

Return

This specification instance for fluent chaining.

Parameters

payload

The expected JSON string for the request body.