or if you're using a routes block then your origin...
# http4k
d
or if you're using a routes block then your original version should work for capturing the path param from the request