microsoft / dev-proxy

Dev Proxy is an API simulator that helps you effortlessly test your app beyond the happy path.
https://aka.ms/devproxy
MIT License
471 stars 56 forks source link

Update Intercept requests to localhost page #842

Closed garrytrinder closed 1 month ago

garrytrinder commented 1 month ago

Raised from #837

Update example with --proxy-server option as it is required when using --proxy-bypass-list

--proxy-bypass-list=(|)[:][;...]

Tells Microsoft Edge to bypass any specified proxy for the specified semicolon-separated list of hosts. This flag must be used with --proxy-server.

Source: https://learn.microsoft.com/DeployEdge/edge-learnmore-cmdline-options-proxy-settings#command-line-options-for-proxy-settings

Add Firefox example

I can get Firefox to route through devproxy by setting the proxy server to 127.0.0.1:8000 and, in about:config changing the network.proxy.allow_hijacking_localhost setting to true.

garrytrinder commented 1 month ago

https://github.com/MicrosoftDocs/microsoft-cloud-pr/pull/332