by ajeet_dhaliwal on 11/29/2022, 11:54:19 AM with 0 comments
Some large companies have staff use computers running behind a corporate proxy and firewall without free access to the internet.
When making requests to an external service they need to supply a host, port and in some cases a username and password to authenticate.
As a library and service developer, for testing purposes I'd like to simulate such a proxy on my local development machine (Mac). Ideally I click a button / hit a command and it's enabled, click again, it's disabled. I can then test requests with the credentials provided and not provided in http requests to test whether my library handles them correctly.
Some large companies have staff use computers running behind a corporate proxy and firewall without free access to the internet.
When making requests to an external service they need to supply a host, port and in some cases a username and password to authenticate.
As a library and service developer, for testing purposes I'd like to simulate such a proxy on my local development machine (Mac). Ideally I click a button / hit a command and it's enabled, click again, it's disabled. I can then test requests with the credentials provided and not provided in http requests to test whether my library handles them correctly.
Anyone found a good way to do this on a Mac?