Passing Post data to external file
-
I’ve set up a firebase account so that when a post is made, an alert can show up on our iOS/android apps. The entire sequence works fine, but I can’t figure out how to make it work with wordpress.
What I need to cause is that when a post is made, the post title and post body (limited to 30 characters or so) get passed to a specific file/URL: https://mydomain.com/sendNotification.php.
I’ve installed an application on my iMac called Postman. From that app, I can send the “title” and the “body” to that URL and cause the alerts to function.
I need help or an example to make this happen from within wordpress.
The topic ‘Passing Post data to external file’ is closed to new replies.