<?php

$datos = file_get_contents('php://input');

file_put_contents(
    '/home/ubinetcl/gpswox_webhooks/ultimo_webhook.txt',
    date('Y-m-d H:i:s') . "\n" . $datos . "\n---\n",
    FILE_APPEND
);

http_response_code(200);

echo 'OK';

?>