I have created one sample HTTP Server using POCO C++ libarary
http://xjia.heroku.com/2011/09/11/learning-poco-a-simple-http-server/
But i am not able to understand how to read get and post variables.
Does any one have any examples related to this library
Both HTTPRequest
and HTTPResponse
derive from HTTPMessage
, which has methods like get
, has
and hasToken
.
Also, see the comment by naab and/or try constructing HTMLForm
from the request stream:
HTMLForm(
const HTTPRequest & request,
std::istream & requestBody
);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.