cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: problem with HTTPS post of file: "Expectation failed"
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 23 Nov 2005 09:35:02 +0100 (CET)
On Tue, 22 Nov 2005, Chris Dawson wrote:
> I am trying to make a post to an HTTPS server with curl. The server
You should use LiveHTTPHeaders and capture a session you do manually, and then
> More context: the form which I am posting to has several variables which I
So your command line doesn't add two of the parts, which very well might be
> Does this indicate that I am not sending the form variables "episode[title]"
I would assume so.
> I think the server does require at least some of these variables in order to
It could possibly be that the server requires the fields to come in a specific
> I tried to post form variables alongside the file post (with -d
You need to add those parts with -F as well. -d implies a "plain" POST, while
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-11-23
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info