post

Function post 

Source
pub fn post<T, H, I, D, S>(handler: H) -> MethodRouter<S, Infallible>
where H: CodecHandler<T, I, D, S> + Clone + Send + Sync + 'static, I: Input + Send + Sync + 'static, D: IntoCodecResponse + Send + 'static, S: Clone + Send + Sync + 'static, T: Sync + 'static,
Expand description

Route post requests to the given handler. See axum::routing::post for more details.