Skip to main content

get

Attribute Macro get 

Source
#[get]
Expand description

Route GET requests to the annotated async fn.

Syntax: #[get("/path/{param}", status = 200, tag = "t", tags("a", "b"), summary = "..", description = "..", operation_id = "..", response_model = Type, deprecated, hidden)].