I am looking for a good way to send data from one WordPress to another.
Setup: WP1: Frontend, form to submit data. WP2: Backend, receives data and processes it.
So in WP1 users just use a form to submit data. This data should be transferred to WP2. In WP2 the data is being processed (Custom Posts are created, post meta is being added, a user is created ...).
How can I submit all the data from WP1 to WP2?
I thought about using a GET request to "forward" the form data from WP1 to WP2.
Another way could be to use the REST API to transfer the data - but I struggle with that because the processing should happen at WP2 not at WP1.
Can you help me with what is the best way to simply send the form data and trigger processing at WP2?