mirror of
https://github.com/rwf2/Rocket.git
synced 2024-12-30 22:32:38 +00:00
11 lines
266 B
XML
11 lines
266 B
XML
// #[post("/<_name>?<_query>", format = "application/json", data = "<user>", rank = 2)]
|
|
// fn get(
|
|
// _name: &RawStr,
|
|
// _query: User,
|
|
// user: Form<User>,
|
|
// _cookies: Cookies
|
|
// ) -> String {
|
|
// format!("{}:{}", user.name, user.nickname)
|
|
// }
|
|
|