> From:fancy_2626
> Sent: Friday, October 26, 2012 18:24
> Subject: Re: RE: what does curl post
> 
> Hello! I still need help to make my post work.
> 
> microRNAs=hsa-miR-
> 9&Genes=NM_001004317ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
> ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
> ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
> ÍÍÍÍýýýý««««««««îþ
> 
> 
> int main(void) {
> int len;
> CURL *curl;
> CURLcode res;
> static char *postthis="microRNAs=hsa-miR-9&Genes=NM_001004317";

> curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, len);

I would try the following:

curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)len);

Read the documentation for curl_easy_setopt() to see why.
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html

You should also check the status returns from all of your curl calls.

Cheers,

GaryM @ Broadsoft

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to