Documentation Index
Fetch the complete documentation index at: https://docs.rockxy.io/llms.txt
Use this file to discover all available pages before exploring further.
Map Local
Map Local lets you serve a local file as the response for a matching request. It is one of the fastest ways to unblock frontend, mobile, or QA work when the real backend response is not available yet.Best use cases
- mock a response while a backend endpoint is still in progress,
- reproduce one specific payload repeatedly,
- test error states or empty states,
- work offline with a known response file,
- validate UI against unusual payload shapes.
Recommended workflow
- Capture a real request.
- Right-click it and create a Map Local rule.
- Point the rule at a local file.
- Trigger the request again.
- Inspect the returned response in Rockxy and in the client.
Keep rules narrow
Map Local is most reliable when the match is specific. Start with:- one host,
- one path,
- one method,
- and only widen it if the intended flow requires it.
What to watch for
- The file content becomes the response body.
- The client still needs to accept the overall proxy and HTTPS setup.
- If the match is too broad, you may accidentally replace more traffic than intended.
Related pages
Map Remote
Use Map Remote when you need a different server, not a local payload.
Modify Headers
Change metadata without replacing the whole response body.
