Function axum::service::post [−][src]
pub fn post<S, B>(svc: S) -> OnMethod<S, EmptyRouter<S::Error>, B> where
S: Service<Request<B>> + Clone,
Expand description
Route POST
requests to the given service.
See get
for an example.