public < T > T post ( final Class < T > type , @ DelegatesTo ( HttpConfig . class ) final Closure closure ) { return type . cast ( interceptors . get ( HttpVerb . POST ) . apply ( configureRequest ( type , HttpVerb . POST , closure ) , this :: doPost ) ) ; }
Executes an POST request on the configured URI with additional configuration provided by the configuration closure . The result will be cast to the specified type .