We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5eb588 commit 52e5d30Copy full SHA for 52e5d30
1 file changed
Workspace/packages/api/src/lib.rs
@@ -2,7 +2,7 @@
2
use dioxus::prelude::*;
3
4
/// Echo the user input on the server.
5
-#[get("/api/echo")]
+#[post("/api/echo")]
6
pub async fn echo(input: String) -> Result<String, ServerFnError> {
7
Ok(input)
8
}
0 commit comments