Due to some configuration changes on my webhost, Wordpress (2.1.x) stopped working correctly on one domain.
Basically, even though Windows Live Writer was submitting to the XML RPC Interface via POST, it was still returning “XML-RPC server accepts POST requests only.”. Not exactly helpful!
Windows Live Writer was giving a message like ”Invalid Server Response - The response to the blogger.getUsersBlogs method received from the weblog server was invalid.”, and I could only find this post as a possible solution.
Anyway, the kind folks at Dreamhost fixed it up by adding the following line to the top of the xmlrpc.php file:
$HTTP_RAW_POST_DATA = file_get_contents(”php://input”);
What it does, I’m not quite certain (fixing a global variable?) - but it works nicely now.

2 Comments
[...] wasn’t accepting new posts, for some reason. This post — Will’s Blog - Wordpress “XML-RPC server accepts POST requests only.” — solved the problem for me. Posted by paul on Friday, May 25, 2007, at 8:23 pm, and filed [...]
May 26th, 2007 at 2:23 pm. Permalink.
Your webhost was pretty quick on this: it’s an issue with the version of php installed, apparently.
Thanks for the tip, though. That was the fix.
May 26th, 2007 at 2:31 pm. Permalink.