You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "/" route" responds "hello", but the code shows "Landing" as the response.
The example code defines a get request for the "/hello" route.
In the demo, the request is a post on route "localhost/hi".
second demo
According to the code example, the post route should return 'hi', but the playground returns "world".
4th demo(all('/')
It should return "hi" for all routes, but in the playground, all endpoints are implemented independently with a "hello" response.
404 demo
The demo has a working post route, which is not defined in the example, and the "not found" route does not return the specified text.
What is the type of issue?
Documentation is incorrect, Documentation is confusing
What is the issue?
Route demos have inconsistencies
The demos at https://elysiajs.com/essential/route.html#route have some things that need to be corrected.
first demo
The "/" route" responds "hello", but the code shows "Landing" as the response.
The example code defines a get request for the "/hello" route.
In the demo, the request is a post on route "localhost/hi".
second demo
According to the code example, the post route should return 'hi', but the playground returns "world".
4th demo(all('/')
It should return "hi" for all routes, but in the playground, all endpoints are implemented independently with a "hello" response.
404 demo
The demo has a working post route, which is not defined in the example, and the "not found" route does not return the specified text.
Where did you find it?
https://elysiajs.com/essential/route.html#route
The text was updated successfully, but these errors were encountered: