Skip to main content

post

Attribute Macro post 

Source
#[post]
Expand description

Shortcut: registers an IRequest impl at POST /path.

#[post("/users")]
impl IRequest<UserModel> for CreateUserRequest {}