FoalTS / foal

Full-featured Node.js framework 🚀
https://foalts.org/
MIT License
1.9k stars 142 forks source link

Todos GET request in first tutorial is returning 404 #1126

Closed ahmadalibaloch closed 2 years ago

ahmadalibaloch commented 2 years ago

Implemented the tutorial steps one by one correctly. But after doing API Controller changes and refreshing browser or event restarting the server I get 404 like below:

image

Result:

image

Though the home page with "/" route is working fine and I see no error logs in node.js console.

edrcq commented 2 years ago

Call GET /api/todos and it will work.

ahmadalibaloch commented 2 years ago

thanks, did not find it in docs.