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