web_post

Attribute Macro web_post 

Source
#[web_post]
Expand description

Creates route handler with POST method guard.

Syntax: #[post("path"[, attributes])]

Attributes are the same as in get