No records found in request when running in PHP Custom Script

this line
$in_content = $event['request']['content'];

needs to be changed to
$in_content = $event['request']['payload'];

Both content and payload used to work, but now you must use payload for the response data object. Content is just a raw string of whatever comes in the request.