Add new post with API from another server

Question

I have a wordpress site on a domain and a script for archiving documents on another server.
When this process is finished I need that script to create a new post with some info on the wordpress site.
I have found some tutorials but all are assuming that the php script is on the same server of the wordpress so they use the functions from wordpress core.
Which is the correct way to do this?
Can you please point me the correct way to do this?

0
Kreker 9 months 0 Answers 41 views 0

Leave an answer