`get("/data/{dataType}", ::dataEndpoint)` if your ...
# ktor
o
get("/data/{dataType}", ::dataEndpoint)
if your function has appropriate signature
👍 1