Added getHttpResponse with config