Pergunta

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!

Foi útil?

Solução

See simplepost on the curl web site.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top