[Cppcms-users] request.post returning empty string
Brought to you by:
artyom-beilis
|
From: Saikumar G. <sai...@gm...> - 2013-05-16 13:23:56
|
I am not getting the post data from a Ajax POST call.
In the Ajax request I am passing the following
data = { value:'test' } ;
and when we try to get the value from the dispatch method using the http::post method it returns
empty.
string value = request.post("value");
What is happening ?
I see that the private method parse_form_urlencoded() in http::request object which can parse this
request params.
Who should be calling this prior to calling the dispatch method ?
|