since the libcurl examples did not help me very much I ask it here:

How can I send a POST-request to a server using libcurl, without sending some form data but some other text that does not come from an web form. Next when this happened successfully, where/how can I read the data sent back from the server? In my case these data are again a bunch of ASCII-text that in no way is related to any HTML web form.

libcurl only provides an example that can be uset to set web for mdata and where the result is not read.

Thanks!

有帮助吗?

解决方案

See simplepost on the curl web site.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top