X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fexamples%2FKISS_XMLRPC_Client.php;fp=docs%2Fexamples%2FKISS_XMLRPC_Client.php;h=b9e955b6e969f5ae7dd30fafce80d2d6272d1bdf;hb=229730a74c2686bdf501528cbe44a9421ccca61a;hp=35380db9853759d19df1b1ca6c1bd7cb0e54896e;hpb=5efb94c93bc4c1d4873706958962acc4313477f3;p=m6w6%2Fext-http diff --git a/docs/examples/KISS_XMLRPC_Client.php b/docs/examples/KISS_XMLRPC_Client.php index 35380db..b9e955b 100644 --- a/docs/examples/KISS_XMLRPC_Client.php +++ b/docs/examples/KISS_XMLRPC_Client.php @@ -7,7 +7,7 @@ class XmlRpcClient public function __construct($url, $namespace = '') { $this->namespace = $namespace; - $this->request = new HttpRequest($url, HTTP_POST); + $this->request = new HttpRequest($url, HTTP_METH_POST); $this->request->setContentType('text/xml'); }