cURL / Mailing Lists / curl-library / Single Mail


Re: http operation using curl

From: Dario Griffo <>
Date: Sun, 01 Jun 2008 22:27:27 -0300

Avinash Vijayvergia wrote:
> I am trying to use curl for something very simple. My program should
> send an xml file to a http server and than get the response as an xml
> file and parse it. I have read curl tutorial at
> and have seen example
> programs which came with my linux distro. I am not able to understand
> whether I should be coding using shell commands viz system(curl -d
> @abc.xml or using those APIs in example programs.
> Can someone please suggest me?

If you are making a C/C++ program (wich I think you are) you have to use
the the cURL API [1] in it, also you have several tutorials in the page [2]
It's really simple and powerfull, but my first recomendation is to read
the first tutorial page to understand basic usage tips.

Received on 2008-06-02