Function axum::routing::method_routing::post
source ยท pub fn post<H, T, S, B>(handler: H) -> MethodRouter<S, B, Infallible>
Expand description
Route POST
requests to the given handler.
See get
for an example.
pub fn post<H, T, S, B>(handler: H) -> MethodRouter<S, B, Infallible>
Route POST
requests to the given handler.
See get
for an example.