cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET