I couldn't see any requests from 3rd-party network libraries
- I can see other requests on Proxyman but not from my website, NodeJS, iOS, or Android, .... which use 3rd-party network libraries, such as fetch, axios, Alamofire, Ktor Apache HttpClient, curl....
- Some networking library doesn't respect the HTTP/HTTPS Proxy config in Network.prefpanel. All traffic will directly go through to the destination server
In general, we have to manually config the network library to use HTTP Proxy and point to Proxyman Port (Default at 9090)
List of possible solutions:
You can explicitly set HTTP Proxy on Axios. All traffic will appear on Proxyman.
axios.get({
url: '/v1/user/data',
// 'proxy' defines the hostname and port of the proxy server
// Use `false` to disable proxies, ignoring environment variables.
// `auth` indicates that HTTP Basic auth should be used to connect to the proxy, and
// supplies credentials.
// This will set an `Proxy-Authorization` header, overwriting any existing
// `Proxy-Authorization` custom headers you have set using `headers`.
proxy: {
host: '127.0.0.1',
port: 9090
}
});