Create components and incidents from the API
This commit is contained in:
@@ -8,4 +8,9 @@
|
||||
Route::get('incidents', 'ApiController@getIncidents');
|
||||
Route::get('incidents/{id}', 'ApiController@getIncident');
|
||||
|
||||
Route::group(['protected' => true], function() {
|
||||
Route::post('components', 'ApiController@postComponents');
|
||||
Route::post('incidents', 'ApiController@postIncidents');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user