cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: Question about HTTP Post
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 13 Dec 2001 13:26:05 +0100 (MET)
On Thu, 13 Dec 2001 christoph.vogler_at_sercon.de wrote:
> I have the following to do, and would like to know if it is possible:
This is a malformed first line. In requires a space after the POST keyword.
> Connection: keep-alive
If you only post one file, do you really need this? This "keep-alive" is by
> Content-lenght: 817
> <?xml version="1.0"encoding="iso-8859-1"?>
You need an empty line between the end of the headers and the start of the
> Can anyone explain me how to Post it with curl, if it is possible, i´ve
Store the full XML data in a file. Let's call it xml.txt for now:
1. To POST the data specified in the file use "-d @xml.txt"
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/Received on 2001-12-13
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info