cURL / Mailing Lists / curl-users / Single Mail

curl-users

how to post an xml

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 29 May 2010 22:59:13 +0200 (CEST)

On Sat, 29 May 2010, mohit huria wrote:

> Hey Friens,
>
> I want to post an xml and a text file to a url, would like to see some
> answers, can anyone help me how to send a multipartpart request.

Hi!

First you need to learn how to behave on a mailing list, and this list in
particular (you did just about everything wrong here) so please read this:

         http://curl.haxx.se/mail/etiquette.html

Then, read the fine manual at http://curl.haxx.se/docs/manpage.html and focus
on the -F section: http://curl.haxx.se/docs/manpage.html#-F--form

For other general hints on how to script http, there's also of course this:

         http://curl.haxx.se/docs/httpscripting.html

If you then have specific questions please ask them and show us what you did
and what you expected it to do.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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 2010-05-29