<?php
    $json = file_get_contents('php://input');
    //$params = json_decode($json);
    $params = var_dump($_GET);
    //$params = 'hello';
    $myfile = fopen("gps.txt", "w");
    fwrite($myfile,$json);
    fclose($myfile);
    //echo "Hola";
?>