/** * Sends a DELETE request with a body. * * @param url * the url where to send the DELETE request. * @param entity * the entity to DELETE. * @return the delete response. */ public static BotMillNetworkResponse delete(String url, StringEntity entity) { HttpDeleteWithBody delete = new HttpDeleteWithBody(url); delete.setEntity(entity); return send(delete); }