For both things to work we need to associate an UR...
# ktor
o
For both things to work we need to associate an URI template with the type. We are now doing it with annotation, but can as well do it with explicit function call. Annotation is useful because it’s in one place, and you don’t forget to bind it.