Documentation ¶
Overview ¶
go-httpproxy-demo is an example for HTTP and HTTPS web proxy.
Connect through HTTP proxy to HTTP: curl -x "http://test:1234@localhost:8080" http://httpbin.org/get?a=b
Connect through HTTP proxy to HTTPS with MITM: curl --insecure -x "http://test:1234@localhost:8080" https://httpbin.org/get?a=b
Connect through HTTPS proxy to HTTP: curl --proxy-insecure -x "https://test:1234@localhost:8443" http://httpbin.org/get?a=b
Connect through HTTPS proxy to HTTPS with MITM: curl --proxy-insecure --insecure -x "https://test:1234@localhost:8443" https://httpbin.org/get?a=b
Click to show internal directories.
Click to hide internal directories.