cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: imagebin form

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Fri, 4 Dec 2009 22:58:52 +0100

On Friday 04 of December 2009 20:42:20 pxam67_at_virgilio.it wrote:
> $ curl --verbose -F nickname=aaa -F image=@temp.
> png -F title= -F description= -F disclaimer_agree=Y -F Submit=Submit -F
> mode=add http://imagebin.org/index.php 2> dump
>
> $ cat dump
> * About to
> connect() to imagebin.org port 80 (#0)
> * Trying 174.143.244.148...
> connected
> * Connected to imagebin.org (174.143.244.148) port 80 (#0)
>
> POST /index.php HTTP/1.1
>
> > User-Agent: curl/7.18.2 (i486-pc-linux-gnu)
>
> libcurl/7.19.4 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15 libssh2/1.1
>
> Host: imagebin.org
>
> > Accept: */*
> > Content-Length: 109748
> > Expect: 100-
>
> continue
>
> > Content-Type: multipart/form-data;
>
> boundary=----------------------------eeec9f65eb03
>
> < HTTP/1.1 100
> Continue
> < HTTP/1.1 302 Found

This ^^^ is the status code from server you are interested in:

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.3

Kamil
-------------------------------------------------------------------
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-04