MCPcopy Create free account
hub / github.com/PacktPublishing/Rust-Web-Development-with-Rocket / get

Function get

Chapter03/07Format/src/main.rs:7–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6#[get("/get", format = "text/plain")]
7fn get() -> &'static str {
8 "GET Request"
9}
10
11#[post("/post", format = "form")]
12fn post() -> &'static str {

Callers 2

appFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected