cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: multipart/form-data question

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 1 Apr 2009 22:38:12 -0600

On Wed, Apr 01, 2009 at 10:15:30PM +0200, Piotr Dobrogost wrote:
> I'd like to do a POST with multipart/form-data data.
[...]
> Does curl take care of boundary and Content-Disposition: things?

Yes. Just use the -F option.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-04-02