cURL / Mailing Lists / curl-users / Single Mail

curl-users

compressed POST request

From: Andrej van der Zee <andrejvanderzee_at_gmail.com>
Date: Tue, 3 May 2011 20:25:46 +0900

Hi,

I want to send a POST request to my localhost with the following command.

curl -d @request.xml -H "content-type: application/octet-stream"
localhost/cgi-bin/xxx.cgi

Is it possible to send request.xml compressed? How should I do this? I
am using Ubuntu Maverick.

Thank you,
Andrej
-------------------------------------------------------------------
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 2011-05-03