Reputation: 10686
I need to write API for WordPress site to support mobile application. But I need use basic functions from mobile device, like create a post for example, I send content, title, image data (all post data) with HTTP POST to API from my mobile application.
i don't want code separate database requests and study DB organization. I want simply call something like createPost
WordPress method from my API.
How can I do that?
Upvotes: 0
Views: 123
Reputation: 12985
WordPress XMLRPC^ is what you need. It allows you to remote control a WordPress installation.
PS: Google 'wordpress remote control'.
Upvotes: 1