why do we need to specify the route again in handler methods, and why it's absolute
4 Replies
in this example in the class attribute, we used "api/[controller]", but the handler method has author attribute that uses an absolute path, I don't understand why it exists in the first place, and why its absoulte
You don't need to
thanks, that's what I expected and I was confused by the example from a book I'm reading
I expect this to map to api/error/error
Yep