The response class defines how Mimic should respond to a request
Property | Type | Example Value | Required |
---|---|---|---|
status | number | 200 | Yes |
Delay | number | 0 | Yes |
headers | object | { 'Content-Type': 'application/json' } | No |
body | string | Hello World | Yes |
The response class defines how Mimic should respond to a request
Property | Type | Example Value | Required |
---|---|---|---|
status | number | 200 | Yes |
Delay | number | 0 | Yes |
headers | object | { 'Content-Type': 'application/json' } | No |
body | string | Hello World | Yes |