proxy avec curl
This commit is contained in:
parent
0f378774cd
commit
451b0a9398
|
@ -58,6 +58,12 @@ Plus généralement, pour spécifier un en-tête HTTP utiliser l'option `-H` (ou
|
||||||
$ curl http://www.example.com -H 'Accept: text/plain'
|
$ curl http://www.example.com -H 'Accept: text/plain'
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
Pour l'utilisation d'un proxy :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
$ curl -x http://localhost:8123 http://www.example.com
|
||||||
|
~~~
|
||||||
|
|
||||||
|
|
||||||
## Forcer la résolution DNS
|
## Forcer la résolution DNS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue