axum icon indicating copy to clipboard operation
axum copied to clipboard

route.md: Add wildcard example code

Open Enselic opened this issue 1 year ago • 1 comments

To developers completely new to axum, it helps a lot to give example code on to get access to the variable path in a handler.

Rendered:

image

Even if the example is not perfect, my hope is that it will be better than nothing. It certainly would have helped me at least.

But feel free to close this PR if the example is too sloppy.

Enselic avatar Feb 06 '24 05:02 Enselic