Tuesday, May 14, 2013

Curl : Accessing a url through a proxy server from command line

To access a URL through a proxy server from the command line, curl comes handy


$ curl -x http://<myproxy.com>:<port_no>   http://google.co.in

Suppose if the proxy server is password protected, try the following

$ curl -U user:password -x http://<myproxy.com>:<port_no>   http://google.co.in

10 comments:

  1. I want to share one of the very informative trick which can access any block site at your office , school or even in university without having administrative rights. Just click
    VK proxy

    ReplyDelete
  2. http://www.youtube.com/watch?v=w3fOLVpw2qs

    ReplyDelete
  3. What a nice blog...I am really very impressed to read this..Thanks to admin for posting this nice blog....WOW!!!!!
    Mousebreaker UK proxy

    ReplyDelete
  4. Thank you explain Excellent Take the first Site Award -winning speed in Show blocked sites


    Free Anonymous Proxy Browser

    ReplyDelete
  5. thanks a lot
    this really helped me a lot i will use it on my website

    http://www.proxy-solicitation1.tk/

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete