just to demonstrate output and input
This commit is contained in:
parent
d89ff40d33
commit
81586e2970
@ -13,5 +13,5 @@ pub async fn howtos(templates: State<templates::Templates>) -> impl IntoResponse
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub async fn answer_question(Form(question): Form<Question>) -> impl IntoResponse {
|
pub async fn answer_question(Form(question): Form<Question>) -> impl IntoResponse {
|
||||||
"There is your answer!".to_owned()
|
format!("You asked: {}, There is your answer!", question.question).to_owned()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user