cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

curl output

From: Jose (Runlevel) <rlevel_at_gmail.com>
Date: Mon, 4 Apr 2005 19:10:05 +0200

Hi,

I'm writting the next simple application, and I want do do a post to a
servlet and I don't want to see the html output, What can I do to hide
this output?

curl = curl_easy_init();
 if(curl) {
     curl_easy_setopt(curl, CURLOPT_URL,
"http://localhost:8084/WebApplication1/actualizarEnvio.jsp");
   sprintf(url,"opt=%d&id_problema=%d&id_usuario=%d",opt,id_problema,id_usuario);
   curl_easy_setopt(curl, CURLOPT_POSTFIELDS, url);
   res = curl_easy_perform(curl);
   curl_easy_cleanup(curl);
}

Thanks
Received on 2005-04-04

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET