I am using a translator because I am Korean. I would appreciate your understanding even if I'm not good at it.
I would like to send a post request from c# to https web to http proxy using http proxy.
HttpClient httpclient = null;
proxy = "http://" + proxy;
HttpClientHandler handler = new HttpClientHandler()
{
Proxy = new WebProxy(proxy),
UseProxy = true,
};
httpclient = new HttpClient(handler);
this is my c# code
But I can't connect to the https web.
Is there a way to use the http client module in c# to produce the same effect as the following python code?
proxy={ 'https' : 'http://' + input_proxy }
resp=self.desktop.post(self.url,self.payload,proxies=proxy)