17 Chapter 17: Making a Simple Web App, Part 2

Hello there,

I’m currently studying on Vapor and I have an issue with the javascript script “createAcronyms”. It doesn’t found http://localhost:8080/api/categories/. I have an error on the safari inspector : Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/api/categories/

Can someone help me ?

Thanks you very much,

Did you register the CategoriesController? And if so do you have a GET request registered for /api/categories?