Make the ajax calls POST methods, and make the 'Create Entry' in the tree configurable so calls to children() can just return child entries

This commit is contained in:
2025-07-02 23:48:44 +08:00
parent 883ac5d90f
commit 339ba7258a
3 changed files with 18 additions and 12 deletions

View File

@@ -63,8 +63,8 @@ Route::controller(HomeController::class)->group(function() {
Route::controller(AjaxController::class)
->prefix('ajax')
->group(function() {
Route::get('bases','bases');
Route::get('children','children');
Route::post('bases','bases');
Route::post('children','children');
Route::post('schema/view','schema_view');
Route::post('schema/objectclass/attrs/{id}','schema_objectclass_attrs');
});