Features
/
Interceptor

Interceptor

Intercept and modify requests and responses.

You can access APIs blocked by Cross-Origin Resource Sharing (CORS) restriction by using either Hoppscotch Agent, Proxyscotch or custom middleware. You can also use the Hoppscotch web extension to intercept requests and responses.

ProxyA proxy server acts as an intermediary between your device and the internet, forwarding requests and responses to and from the desired API. By routing requests through a proxy, you can bypass CORS restrictions and access APIs that would otherwise be blocked by the browser.* Enable proxy interceptor fromSettings pageInterceptorssection.

  • You can replace the default Proxy URL with your own proxy middleware if you wish or use Proxyscotch, which acts as a remote proxy server for routing API requests.## ProxyscotchProxyscotch is our official proxy server. It is an MIT licensed open-source project that can bypass Cross-Origin Resource Sharing (CORS) restrictions by routing API requests through a remotely hosted proxy, ensuring that requests originate from a trusted environment.#### Self-Hosted ProxyscotchTo use Proxyscotch with a minimal setup, you can pull and run the official pre-built Docker image. This provides an instant proxy environment without requiring manual compilation or installation. You can host Proxyscotch on your own server by following the instructions below:```bash

Pull the latest Proxyscotch image from Docker Hub

docker pull hoppscotch/proxyscotch

Run the container in detached mode, exposing port 9159

docker run -d -p 9159:9159 --name proxyscotch hoppscotch/proxyscotch

Built with

Show your support! Star us on GitHub ⭐️