Tools

Utility tools for msw-dev-tool
Reset Dev tool
Button to reset the dev tool to the initial state.
- Set all behaviors to default
- Remove all temp handlers you added.
Add Temp Handler

Dialog to add a temporary handler stored in the browser’s session storage.
Field
You can add the following fields to the temporary handler.
Field | Description | Validation |
---|---|---|
Method | HTTP method, Default: GET | |
Path to mock | Required | |
Delay | Delay time in milliseconds, Default: 0 | |
Status | Status code: 2xx, 4xx and 5xx, Default: 200 | |
Status Text | Status message for status code | |
Content Type | MIME type of response body, Default: JSON | |
Response Body | Response body | Appropriate to Content Type |
Header | Response header | JSON format |
Last updated on