[SOLVED] RESTFul routes with resource not found |
Hi,
I'm currently creating a new RESTfull endpoint for relations, but something seems to be going wrong and i've got no idea if this is something on my end. Package information
Using the following from the documentation: https://codeigniter4.github.io/userguide...oller-used But on the endpoint the following error occurres, and i'm 1000% shure the file is there. Manually this is no problem, but this requires each endpoint to be set in the routes. Error: "message": "Controller or its method is not found: \\App\\Outhands\\Relations\\Controllers\\API\\RelationResource::new", Partial code: PHP Code: $routes->group('api/v1', ['filter' => 'tokens'], function($routes) { Did i misunderstood the documentation or does this seem to be a bug in CI4? update Apparently i've misspelled the controller, my issue has been resolved. |
Messages In This Thread |
[SOLVED] RESTFul routes with resource not found - by superior - 08-02-2023, 02:43 AM
RE: RESTFul routes with resource not found - by InsiteFX - 08-02-2023, 10:52 PM
RE: RESTFul routes with resource not found - by superior - 08-03-2023, 04:54 AM
RE: [SOLVED] RESTFul routes with resource not found - by InsiteFX - 08-03-2023, 10:53 PM
|