refactoring testApi
This commit is contained in:
13
homepage/participo/api/index.php
Normal file
13
homepage/participo/api/index.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
header('Content-Type: application/json');
|
||||
|
||||
// $endpoint = $_SERVER['REQUEST_URI'];
|
||||
|
||||
// switch ($endpoint){
|
||||
// case '/':
|
||||
// echo json_encode([
|
||||
// 'message' => 'Welcome to the API'
|
||||
// ]);
|
||||
// break;
|
||||
// }
|
||||
?>
|
||||
Reference in New Issue
Block a user