Skip to Content
DocsTools

Tools

MSW Dev Tool tools panel

Utility tools for MSW Dev Tool.

Reset Dev tool

Button to reset the Dev Tool to its initial runtime state.

  • Set HTTP and WebSocket behaviors to default
  • Enable global and per-item HTTP/WebSocket mocking
  • Remove temporary HTTP handlers, WebSocket endpoints, and listeners
  • Close active mocked WebSocket connections

Add Temp Handler

Add Temp Handler form

Dialog to add a temporary handler stored in the browser’s session storage.

Field

You can add the following fields to the temporary handler.

FieldDescriptionValidation
MethodHTTP method, Default: GETOptional

Path

Path to mockRequired
DelayDelay time in milliseconds, Default: 0Minimum 0 milliseconds
StatusOne of the supported HTTP status codes, Default: 200Supported codes only
Status TextStatus message for status codeOptional
Content TypeMIME type of response body, Default: JSONOne of the supported MIME types
Response BodyResponse bodyAppropriate to Content Type
HeaderResponse headerJSON format
Last updated on