On 16 December 2013 16:50, Nutan <nutanshinde1...@gmail.com> wrote:
>
> ok thanks,
> but is there any other way where -F is not used?
>
> I am creating a api in vc++ and to link to solr i am using libcurl,for this
> to work the string is the url,
> eg:
> curl_easy_setopt(curl,
> CURLOPT_URL,"http://localhost:8080/solr/document/select?q=*%3A*&wt=json&indent=true&fl=id";);
[...]

If you can do a post using curl from the command line, you can
add --libcurl <file> to get a libcurl example written to <file>. Please
see the curl man page for details.

Regards,
Gora

Reply via email to