13 lines
250 B
PHP
13 lines
250 B
PHP
<?php
|
|
header('Content-Type: application/json');
|
|
|
|
// $endpoint = $_SERVER['REQUEST_URI'];
|
|
|
|
// switch ($endpoint){
|
|
// case '/':
|
|
// echo json_encode([
|
|
// 'message' => 'Welcome to the API'
|
|
// ]);
|
|
// break;
|
|
// }
|
|
?>
|