I'm currently running into issue where one of my endpoints seems to check for validations that doesn't exists.
If i rename the url to -> /users/profile keeps getting the same response.
I'm very confused
#Phantom Endpoint
4 messages · Page 1 of 1 (latest)
Move the @Get('profile') route handler to above the @Get(':idUser') one
Otherwise, :idUser will match whatever you send after /user/. Think of it as a .* regex
That actually solved the issue, I think i readed something related to writing endpoints on a correct way for express. Thanks a lot