id/api.php

16 lines
279 B
PHP
Raw Normal View History

<?php
header('Content-Type: application/json');
$response = [
"response" => [
"success" => false,
"status_code" => 404
],
'body' => [
'message' => 'That endpoint could not be found.'
]
];
echo json_encode($response, JSON_PRETTY_PRINT);