I want to get some params dynamically, but now I only found the way to get some known field from the request
use fn index(req: HttpRequest) -> ...
this is question for chat.
I just find a method req.query_string(), do I need parse it myself to a map?
you should check api docs and example. there are plenty of various examples
https://docs.rs/actix-web/1.0.0-beta.2/actix_web/web/struct.Query.html