All features

Feature

Proxy Rules & Scripts

Serve any URL from somewhere else, like your local build, without changing it, and rewrite requests or responses in flight with scripts.

How it works

Match exact URLs or regular expressions, send the traffic to a mapping or an external target, and run a script on the request before it is forwarded or on the response before it is returned. Rules apply as soon as they are saved; there is no proxy config file to write.

When to use it

  • Load a live page's JavaScript and CSS from your local dev server, with the page still on its real URL.
  • Send a production or staging URL to the build running on your machine.
  • Add, remove or rewrite a header on every matching request without touching the app.
  • Patch a response body to try a fix before the backend change ships.
Read the docs