Hi, I starting adventage with adonis and build API.
I finded in routing doc and pick:
In addition I choose PostgreSQL as my database.
When I tested API endpoints (using Postman), I discover something intrest.
I select “/users/2/edit” endpoint and connect with ~ as response I recieve:
E_ROUTE_NOT_FOUND: Route not found GET - this is what happens ordinary (apiOnly ~ disabled these routes).
But with “users/create” endpoint I recieve:
select * from "users" where "id" = $1 limit $2 - invalid input syntax for integer: "create"
Both routes doesn’t exists in controller, I suppose second query should receive the same error. I don’t know it’s bug?