[cgi-devel] HTTP_RAW_POST_DATA
Status: Beta
Brought to you by:
drrngrvy
From: <jc...@ol...> - 2011-04-11 18:08:17
|
Hello, I need to receive at an url like example.com/feedback an xml that could be sent with something like: echo '<doc><item>Some content.</item></doc>' | curl -X POST -H 'Content-type: text/xml' -d @- http://example.com/feedback in php, that xml string is captured by $HTTP_RAW_POST_DATA in my program, I do something like this for each request req.load(boost::fcgi::parse_all); but then I am unable to find the xml string How should I query req to get that xml? Thanks JCR |