#[post]
Declares a POST operation. See get for the argument form.
POST
get
#[post("/users", id = "users.create", summary = "Create a user")] async fn create_user(Json(input): Json<CreateUser>) -> Created<UserView> { .. }