Commit be06315741b03bc78d421486f0862b92880c3e04
1 parent
477ba955
test
Showing
2 changed files
with
6 additions
and
3 deletions
Show diff stats
app/library/App/Controllers/ProjectController.php
app/library/App/Resources/ProjectResource.php
| ... | ... | @@ -44,8 +44,11 @@ class ProjectResource extends ApiResource { |
| 44 | 44 | |
| 45 | 45 | /** endpoints **/ |
| 46 | 46 | $this |
| 47 | - ->endpoint(ApiEndpoint::post('/test', 'test') | |
| 48 | - ->description('Just for test') | |
| 47 | + ->endpoint(ApiEndpoint::post('/test_post', 'test_post') | |
| 48 | + ->description('Just for test post query') | |
| 49 | + ) | |
| 50 | + ->endpoint(ApiEndpoint::post('/test_get', 'test_get') | |
| 51 | + ->description('Just for test get query') | |
| 49 | 52 | ) |
| 50 | 53 | ->endpoint(ApiEndpoint::all()) |
| 51 | 54 | ->endpoint(ApiEndpoint::create()) | ... | ... |