Skip to content

Commit 52e5d30

Browse files
committed
change to post
1 parent d5eb588 commit 52e5d30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Workspace/packages/api/src

Workspace/packages/api/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
use dioxus::prelude::*;
33

44
/// Echo the user input on the server.
5-
#[get("/api/echo")]
5+
#[post("/api/echo")]
66
pub async fn echo(input: String) -> Result<String, ServerFnError> {
77
Ok(input)
88
}

0 commit comments

Comments
 (0)