From 451b0a9398672c569afe3c60c69925f9d4d565ad Mon Sep 17 00:00:00 2001 From: pdiogoantunes Date: Tue, 30 May 2017 13:54:08 +0200 Subject: [PATCH] proxy avec curl --- HowtocURL.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HowtocURL.md b/HowtocURL.md index cbd64b83..cc344ec0 100644 --- a/HowtocURL.md +++ b/HowtocURL.md @@ -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' ~~~ +Pour l'utilisation d'un proxy : + +~~~ +$ curl -x http://localhost:8123 http://www.example.com +~~~ + ## Forcer la résolution DNS