Challenge 1 / 1
Check out this route: #[Route('/api/articles/{id}')].
How could we best guarantee that the {id} part of the URL is a number?
Skip challenges and go to theNext Chapter
Check out this route: #[Route('/api/articles/{id}')].
How could we best guarantee that the {id} part of the URL is a number?