cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: missing --ip option

From: Richard Storm <storm.richard_at_gmail.com>
Date: Mon, 25 Jun 2007 09:55:59 +0300

Thank you!

On 6/22/07, Daniel Stenberg <daniel_at_haxx.se> wrote:
> 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-25