okhttp3 . Response delete ( String url , Map < String , Object > params ) throws RequestException , LocalOperationException { okhttp3 . Request request = new okhttp3 . Request . Builder ( ) . url ( getFullUrl ( url ) ) . delete ( getBody ( toPayload ( params ) , null ) ) . addHeader ( "Transloadit-Client" , version ) . build ( ) ; try { return httpClient . newCall ( request ) . execute ( ) ; } catch ( IOException e ) { throw new RequestException ( e ) ; } }
Makes http DELETE request