cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Using curl https to Post Fixed-Length Text Data -- Unable to Get Response Data

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 24 Apr 2007 09:55:53 +0200 (CEST)

On Mon, 23 Apr 2007, Rob Moretti wrote:

> According to the third-party I am attempting to process with, users have
> used other HTTPS Post utilities with the only requirement being that the
> fixed-length data is stored in the BODY of the HTTPS message. Is there a
> way to mimic this behavior?

Yes, quite simply this:

  curl -d @filetopost https://URL

> With the XML request, I am able to suppress the HTTP/1.1 200 OK with the -X
> option but this does not work with the fixed-length data.

Like Dan said, you massacred that to no longer be anything near HTTP.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-04-24