title: How can I properly listen to HTTP JSON POST requests in PHP?
body: <p>I need to <strong>listen to a HTTP POST request</strong> and respond to it. How can I <strong>listen to such a request</strong>? </p>
  
  <p><strong>How can I listen to HTTP Post requests</strong>? <strong>What will be the URL the POST request has to be sent to?</strong> <strong>How can I make the program always listening</strong> without using hacks such as <code>while(!file_exists("stop.txt")) {}</code>? </p>
  
  <p><strong>Please note that I'm NOT coding a website</strong></p>