cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: missing --ip option

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 22 Jun 2007 22:03:50 +0200 (CEST)

On Fri, 22 Jun 2007, Richard Storm wrote:

> I see that there is no -ip option, but what would be workaround, like
> specifying ip address in --url and then it headers or --request put vhost
> name?

Correct, like this:

  curl -H "Host: the.site.name" http://12.34.56.78/

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-06-22