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.
Related Posts:
- POST to a REST API from a wordpress form
- What is the official way to consume the WordPress API? (api.wordpress.org)
- Extending WordPress REST API
- Save external API calls in WordPress
- Get full page HTML for a non-public WordPress page
- This page didn’t load Google Maps correctly. See the JavaScript console for technical details
- This page didn’t load Google Maps correctly. See the JavaScript console for technical details
- Constructing requests with URL Query String in Python
- Postman Resolving “Invalid CORS request” for a POST Request
- WordPress Rest API custom endpoint optional param
- WP function/filter for modifying http headers?
- Create API for single sign-on with 3rd party site
- Set up WP Authentication from External API
- How do I cache (core) API requests?
- Slow REST API calls on self-hosted WordPress [closed]
- WordPress JSON output
- how to authenticate for the REST API from a plugin and from command line
- External WordPress API
- WordPress API – Get Drafts
- How to stop WP API endpoint from caching?
- How to implement ERP (Enterprise Resource Planning) into WordPress?
- API integration with WordPress
- Gutenberg internal page link search box
- get WP-API by page id
- Sync posts from one WordPress site to another
- “rest_no_route” – Debug error
- Passing variables to new page
- utf8 encoding in json rest api
- How to Securely and remotely Create new user in wordpress using Rest API
- API in numbers?
- Does WordPress support a shortcode calling itself from within a shortcode call?
- Stuck with wp_remote_post sending data to an external api on user registration
- How to get title tag of an external page with http api?
- How to get WordPress Plugins Data in PHP using Plugin API?
- How to integrate Yelp API
- Where to find WordPress API changes for each version released
- How to Increase WordPress JSON API Speed?
- WordPress JSON API Extend to Create Users [closed]
- Can’t get POST data in API endpoint callback
- How can I cache WordPress Rest API Response
- WordPress REST API always misses parameters – rest_missing_callback_param
- Unable to find API Key for my blog
- Adding rest api endpoints to an old theme
- Develop REST API using WordPress for Android app [closed]
- Why aren’t tags and categories added in post request to WP Rest API
- get_option() fails to return binary result
- Integrate ZOHO Recruit API?
- Allow logged in WordPress user to access 3rd party Laravel API via OAuth
- For using google api is it necessary to install the google client libraries for using Oauth 2 in wordpress installation?
- WC REST Payment – Stripe Gateway’ is not available
- PHP to Handle API Return instead of print
- Enabling CORS with WordPress
- How do I query my WordPress posts on another HTML page using the WordPress Restful API?
- Theme Customizer API Live Preview
- How to query WordPress from another application?
- Integrate product feed API in Woocommerce [closed]
- WordPress keeps autoplaying my Youtube-Links no matter what I write
- How to fix AWS SNS API end point code that cause site not to load?
- Integrating API in to WordPress
- WP REST API and Access-Control-Allow-Origin
- How to convert and use JSON data from a remote WordPress server?
- How to get the post_id after you successfully create new post using xmlrpc api wp newPost?
- Soundcloud Smart Player
- Jetpack JSON API configure button not showing [closed]
- New Twitter API and Twitter count + timeline doesn’t work anymore [closed]
- wp_signon returns user but the user is not logged in because wp installed on subdomain. How to make it work?
- get_pages and get_posts returning different data?
- hybridauth (google OAuth integration) and WP problems
- Working Around rest_forbidden_context
- How to queue API requests with PHP in WordPress?
- How to store API authentication password?
- WordPress and API (rapidapi) request
- Post content in wp_remote_post
- I need some assistance opening a few videos in VLC on android automatically from my wordpress site
- Call external API
- Remove unwanted fields from WP API response
- How to receive JSON payload from a digital device
- Get total count of records in WP GraphQL API
- Intergrate JSON into wordpress
- WordPress json rest api displaying 10 categories only
- Creating posts, containing data from remote API
- Passing data outside of WordPress possible?
- Gravit Forms Notification send after 3rd party API response
- Periodically Query an external API on wordpress site
- Post to WordPress API using cURL and login cookies
- Expand author, tags and categories in the WordPress JSON API
- How to display parent category with first level child in REST API
- Best way to make a JSON API from WordPress?
- Encrypt API key [duplicate]
- Can I get the post id when trying to make a new post using xmlrpc?
- Using PHP Api wrapper within plugin. Wrapper uses name space
- Querying Posts Using JSON API
- basic wordpress api endpoint to serve a key-value dictionary
- Trying to integrate wordpress query on other website – getting redirection to wp-install
- Is it possible to make website content available on another website?
- How to login via wordpress api and get user details?
- Zoho subscription API to WordPress [closed]
- How many users/load can the rest API handle?
- How get JSON from external API on every page load if not existing in transient?
- XMLRPC: How to retrieve possible custom fields for a new post?