diff --git a/lib/endpoint.php b/lib/endpoint.php index 15bfc63..c9c1b30 100644 --- a/lib/endpoint.php +++ b/lib/endpoint.php @@ -28,6 +28,7 @@ function getEndpoint($endpoint_name): string } else{ $output["Error"] = "Not found"; + $output["Endpoint"] = $endpoint_name; http_response_code(404); }