We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4295eb commit 16a921fCopy full SHA for 16a921f
examples/echo.rs
@@ -18,7 +18,7 @@ async fn echo(
18
match (req.method(), req.uri().path()) {
19
// Serve some instructions at /
20
(&Method::GET, "/") => Ok(Response::new(full(
21
- "Try POSTing data to /echo such as: `curl localhost:3000/echo -XPOST -d 'hello world'`",
+ "Try POSTing data to /echo such as: `curl localhost:3000/echo -XPOST -d \"hello world\"`",
22
))),
23
24
// Simply echo the body back to the client.
0 commit comments