[Managed to solve this on my own. Solution posted below.]
I have a custom event. I have setup a webhook in PlayStream that points at a php page that is supposed to take whatever is included in the call and put it in a DB.
I have verified that the webhook successfully calls the right url, but I don't know how to get the json data from the POST variable on the php side. Can't find anywhere how to do that. My web programming skills are very low, so this might be a stupid question?
$eventData = $_POST["pleaseTellMeWhatWeShouldWriteHere"];
I expect $eventData to become the full event json string, but I may have misunderstood things?
Thank you!