X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=docs%2Fexamples%2FKISS_XMLRPC_Client.php;h=ac7498d611caa9f87d6fd2af5a5de2eb7c89e497;hp=b9e955b6e969f5ae7dd30fafce80d2d6272d1bdf;hb=fb9722e3794bd20bf1012ab6936533a25b0ed1fe;hpb=39feb7a7e30bb4b393a6f76aa2f35d4e9275523e;ds=sidebyside diff --git a/docs/examples/KISS_XMLRPC_Client.php b/docs/examples/KISS_XMLRPC_Client.php index b9e955b..ac7498d 100644 --- a/docs/examples/KISS_XMLRPC_Client.php +++ b/docs/examples/KISS_XMLRPC_Client.php @@ -26,7 +26,7 @@ class XmlRpcClient if ($this->namespace) { $method = $this->namespace .'.'. $method; } - $this->request->setPostData(xmlrpc_encode_request($method, $params)); + $this->request->setRawPostData(xmlrpc_encode_request($method, $params)); $response = $this->request->send(); if ($response->getResponseCode() != 200) { throw new Exception($response->getBody(), $response->getResponseCode());