Is there a good way to get path parameters? #1459
Answered
by
davidpdrsn
jellybobbin
asked this question in
Q&A
-
route in actix_web:
when request url:
So, how to do in axum?? |
Beta Was this translation helpful? Give feedback.
Answered by
davidpdrsn
Oct 10, 2022
Replies: 1 comment 6 replies
-
https://docs.rs/axum/0.6.0-rc.2/axum/struct.Router.html#captures |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nope. You have to do
xxx.com/:user_id/:post_id
and parse things yourself in the handler.