I am trying to receive a cURL POST from another server, process the post in a script and give a response back by doing another cURL post to a website, according to a URL contained in the first POST. But I have no idea how to accept a cURL post in a PHP script.
Is it like:
if (isset($_POST['test'])){
//execute some code
}
So Website 45661 posts to Server 1 and the script on Server 1 see it's Website 45661 and posts back to it via cURL.
Thanks