From d2633ceaa6fe052e877292d0a05713f4a2fd1cec Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Sun, 7 Feb 2016 22:29:56 +0100 Subject: [PATCH] Make error message more general --- endpoint.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoint.php b/endpoint.php index da01ccd..5dfe5a9 100644 --- a/endpoint.php +++ b/endpoint.php @@ -28,6 +28,6 @@ if (isset($_GET["lat"]) && preg_match("/^-?\d+\.\d+$/", $_GET["lat"]) } else { header('HTTP/1.0 400 Bad Request'); - echo 'Please type this URL in the Self-Hosted GPS Tracker Android app on your phone.'; + echo 'This is an endpoint for compatible GPS trackers only.'; }