cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: message body in HEAD request

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 23 Dec 2009 20:00:31 +0100 (CET)

On Wed, 23 Dec 2009, VitaliyZ wrote:

> I'd like to know is there any way to attach message body to GET request? I
> don't mean this
> curl -G -d @message_body http://my.server.com
> as I need to keep URL intact but attach data after headers.

How about:

         curl -d @message -X GET http://my.server.com

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-23