Connect external web app to wordpress

There’s the XML RPC – the Remote Posting Protocol – that is already in use by WP.org Applications. What you’re searching for is wp.newPost. The API is extensible.

The URL for the XML RPC is

http://example.com/xmlrpc.php

To send data to WP, use xmlrpc_encode_request() where the first argument would be wp.newPost and second one your arguments for the post.

Leave a Comment

error code: 523