public Response requestCall(final String url, final Map<String, ?> form, final Map<String, String> header,
        final HTTPMethod method, final List<UploadFile> files) throws IOException {
        if (Objects.nonNull(files) && !files.isEmpty()) {
            return requestFile(url, form, header, files);
        } else if (isJsonRequest(header)) {
            return requestJson(url, JsonUtils.toJson(form), header, method);
        } else {
            return requestForResponse(url, form, header, method);
        }
    }
request.

@param url    url
@param form   form
@param header header
@param method method
@param files  files
@return Response
@throws IOException IOException
shenyu-admin/src/main/java/org/apache/shenyu/admin/utils/HttpUtils.java