We are using Httpful library to do some REST requests. All of them are to other internal systems in the same network so those request does not require the use of a proxy.
Now, we need to do a request to a system that requires the proxy. This proxy has been set into the $HTTPS_PROXY environment variable and using curl all is working fine.
The problem is that Httpful is not working, the response is **"Unable to connect to *** : 56 Received HTTP code 400 from proxy after CONNECT"**
We have also tried to set the proxy with useProxy function but the result is the same.
Hi.
We are using Httpful library to do some REST requests. All of them are to other internal systems in the same network so those request does not require the use of a proxy.
Now, we need to do a request to a system that requires the proxy. This proxy has been set into the $HTTPS_PROXY environment variable and using curl all is working fine.
The problem is that Httpful is not working, the response is **"Unable to connect to *** : 56 Received HTTP code 400 from proxy after CONNECT"**
We have also tried to set the proxy with useProxy function but the result is the same.
Could you help us?