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