add mock api for contratti
This commit is contained in:
1 parent
04ed2a7120
commit
ec26db0bfa
3 files changed
+32
-2
No files matched your search
@@ -47,6 +47,7 @@ if (strpos($request->path(), '/api/') === 0) {
|
||||
$router->get('/users/index', 'UsersController@index');
|
||||
$router->post('/users/create', 'UsersController@create');
|
||||
$router->get('/example/test', 'ExampleController@test');
|
||||
$router->get('/contratti/cerca', 'ContrattiController@cercaContratti');
|
||||
|
||||
// Rate limiting by IP address
|
||||
$key = $_SERVER['REMOTE_ADDR'] ?? 'unknown';
|
||||
|
||||
Reference in new issue
Block a user