Add new Post/Tag/Add module class

- Convert GET to POST
This commit is contained in:
Hypolite Petovan 2022-11-03 22:26:48 -04:00
parent 57d11d7f2e
commit 1ba9a65fd8
5 changed files with 177 additions and 3 deletions

View file

@ -533,6 +533,7 @@ return [
'/ping' => [Module\Notifications\Ping::class, [R::GET]],
'/post' => [
'/{item_id}/tag/add' => [Module\Post\Tag\Add::class, [ R::POST]],
'/{item_id}/tag/remove[/{tag_name}]' => [Module\Post\Tag\Remove::class, [R::GET, R::POST]],
],