XMLRPC pingback.extensions.getPingbacks not work with parameters
I want to use the pingback.extensions.getPingbacks
Method with parameters in the url, like post_type or page. I use the code below, but it doesn't work when I want to add a parameter and I get a fault code of 0 and an empty fault string, but it seems to work when I only pass the url without any parameters. Can anyone help me?
?php
require_once 'class-IXR.php';
$rpc = new IXR_Client('http://localhost/wordpress/wordpress/xmlrpc.php');
$result = $rpc-query('pingback.extensions.getPingbacks','http://localhost/wordpress/wordpress/2018/01/17/hallo-welt/post_type=something');
if(!$result) {
echo 'Error [' . $rpc-getErrorCode() . ']: ' . $rpc-getErrorMessage();
}
var_dump($rpc-getResponse());
?
The error message
Error [0]: array(2) { ["faultCode"]= int(0) ["faultString"]= string(0) "" }