Read/Write data to a web site

You can use the $_POST superglobal if you build the form text like in the second example of the Xojo docs. Yes, you do build it just like you would the GET parameters string!

To use JSON like your example we will need to get the whole POST body. I’ll be honest, I had to look up how to do that in PHP, but I found an answer here https://stackoverflow.com/a/8945912/6047977

Using that answer as a guide, this would be the very basic PHP end for the Xojo code you wrote:

<?php
$entityBody = file_get_contents('php://input');
$postData = json_decode($entityBody, true);

echo $postData["ID"];
?>

I urge you to look into how to properly sanitize the input for your own safety!