Enable JavaScript to register mock rules.
MOCK RULE MANAGER
Configure the incoming request and the response your mock server will return.
Leave blank to assign a name such as Mock Rule 1.
Match an incoming API request
Imports request fields only. Body criteria must contain JSON before registration.
Start with /. Add query parameters here, then edit their keys and values below.
Listed headers must match. Additional incoming headers are allowed.
Leave blank to match any body. Enter JSON to match the complete body. GET and HEAD do not support body criteria.
Define what the server returns
Choose a standard final HTTP response status (2xx–5xx).
Blank returns the example JSON object. HEAD and statuses 204, 205, and 304 return no body.
Rules apply immediately and remain active until deleted or the server restarts.The newest matching rule takes precedence.
Clearing all active mock rules and Rule Groups is permanent and cannot be undone.
Do you want to delete all active mock rules and Rule Groups?
Proceed with a default name generated by the server?