D
D
Dmitry Baskakov2018-04-28 05:21:58
PHP
Dmitry Baskakov, 2018-04-28 05:21:58

Sending post requests via curl using a proxy. Is it feasible?

There is a hosting, and on it a site. The site has a php script that uses curl - background
So, there is a request for an address banned in Russia. The request uses curl with a proxy via:

curl_setopt($ch, CURLOPT_PROXY, 'xx.xx.xx.xx:xxxx');

But this method doesn't work. How to make it work?
Well, of course, the hosting itself blocks access to the required address. But is it possible to somehow ignore this moment?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
l1l1l1, 2018-04-28
@l1l1l1

Try specifying SOCKS5 proxy type in CURL

D
Dimonchik, 2018-04-28
@dimonchik2013

fiddler and go

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question