Read Data Of Post Method In Php
I am requesting to PHP server as below code snippet StringEntity stringEntity = new StringEntity(myString, 'UTF-8'); httppost.setEntity(stringEntity); httppost.addHeader('Accept'
Solution 1:
$xmlstr= file_get_contents('php://input');
$xml = new SimpleXMLElement($xmlstr);
var_dump($xml )
Post a Comment for "Read Data Of Post Method In Php"