Suppose a user agent sends the following HTTP post request:
How do I read the embedded xml data in PHP? I tried looking at $_REQUEST and it's not there.
Thanks
Code:
POST /listener.php HTTP/1.0
Content-Type: text/xml; charset=iso_8859-1
Accept: text/xml
Accept-Charset: utf-8, iso_8859-1
Content-Length: 190
<?xml version="1.0"?>
<XML_DATA>
<Fields>
<ID type="CHAR">abcde</ID>
<NAME type="CHAR">Test Data</NAME>
<EFFDATE type="DATE">01/01/2005</EFFDATE>
</Fields>
</XML_DATA>
How do I read the embedded xml data in PHP? I tried looking at $_REQUEST and it's not there.
Thanks