Docs / Modifying Traffic
Map Local
Serve a local file instead of the real response.
Map Local returns a file from disk for any request matching a URL pattern — ideal for testing a UI against a fixed payload or a not-yet-deployed API response.
- Open Tools → Map Local and add a rule.
- Set the URL pattern and pick the local file to serve.
- Matching requests now receive your file's contents.
NoteIf the mapped file is missing, MinPin returns a 502 rather than dropping the connection, so the failure is obvious.