Function axum::routing::method_routing::post_service
source · pub fn post_service<T, S>(svc: T) -> MethodRouter<S, T::Error>
Expand description
Route POST
requests to the given service.
See get_service
for an example.