domingo, novembro 06, 2016

using curl to make small http request and test internet connection



Getting only response header from HTTP POST using curl - Stack Overflow

curl -s -D - www.mcmr.xyz









$ curl -s -D - www.mcmr.xyz
HTTP/1.1 200 OK
Date: Mon, 07 Nov 2016 01:32:53 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=ddab62e1e52362646b14ae860e4fda95a1478482373; expires=Tue, 07-Nov-17 01:32:53 GMT; path=/; domain=.mcmr.xyz; HttpOnly
X-Powered-By: PHP/5.4.16
X-Varnish: 262655
Age: 0
Via: 1.1 varnish-v4
Accept-Ranges: bytes
Server: cloudflare-nginx
CF-RAY: 2fdd08b123fc07bb-MIA


using proxy server
http://stackoverflow.com/questions/9445489/linux-curl-command-with-proxy

curl -v -I -x 192.168.0.1:8080 http://mcmr.xyz

Nenhum comentário: