Skip to main content

post

Attribute Macro post 

Source
#[post]
Expand description

Creates route handler with POST method guard.

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

Attributes are the same as in handler