Closed edalzell closed 9 years ago
I have a self hosted (localhost) WP 4.3 install. All calls are returning HTML and not XML.
What am I doing wrong?
here's my code:
$wpClient = new \HieuLe\WordpressXmlrpcClient\WordpressClient('wp.dev', 'erin', 'correct_password'); $pages = $wpClient->getPosts(array('post_type'=> 'page')); $types = $wpClient->getPostTypes();
Closing because I was just using the site instead of the full endpoint. Sheesh.
I have a self hosted (localhost) WP 4.3 install. All calls are returning HTML and not XML.
What am I doing wrong?
here's my code: