twilio java connection with proxy authentication
I am setting up a java Twilio connection using the example Twilio java-sdk from the api examples here . The only difference is I need to run my Twilio connection through a web-proxy with authentication. There are other questions about connecting to Twilio through a web-proxy but no accepted answers. For example this , based on that answer I have tried implementing a solution like this: import com.twilio.sdk.TwilioRestClient; import com.twilio.sdk.TwilioRestException; import com.twilio.sdk.resource.factory.MessageFactory; import com.twilio.sdk.resource.instance.Message; import org.apache.http