Skip to content
Discussion options

You must be logged in to vote

There is no standard way to encode query params as sequences, so axum's default Query extractor doesn't support it.

You'll wanna use https://docs.rs/axum-extra/latest/axum_extra/extract/struct.Query.html (notice this is in axum-extra) or https://crates.io/crates/serde_qs (which have axum support) instead.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@thomasmost
Comment options

Answer selected by thomasmost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants