base64Body? | string | A base64-encoded response body. Use this instead of body for binary data. |
body? | string | The response body to respond with |
contentType? | string | The Content-Type header to respond with |
headers? | HeaderInput[] | Additional response headers to respond with |
method? | Method[] | The HTTP Method(s) of the requests to fulfill |
operator? | OperatorType | Whether to "or" the conditions together (any match fulfills) or "and" them (all must match) Default or |
regex? | string[] | JavaScript regular-expression pattern(s) to match request URLs |
status? | number | The HTTP status code to respond with. Defaults to 200 Default 200 |
type? | ResourceType[] | The resource type(s) of the requests to fulfill |
url? | string[] | The glob-style URL pattern(s) to fulfill requests for |