Description
I have 2 server: a WordPress Machine (WPM) and a PHP Machine with no WP installed (PM).The PM have to send data to WPM to create/update/delete post and pages.
The 2 machines communicate just through curl, no browser authentication can be used.
I just need a working code, using WP REST API, that makes 3 simple operation driven by querystring commands: create a post, update it or delete it.