moremind commented on code in PR #4975:
URL: https://github.com/apache/shenyu/pull/4975#discussion_r1293231003


##########
shenyu-admin/src/main/java/org/apache/shenyu/admin/utils/HttpUtils.java:
##########
@@ -215,20 +215,18 @@ public String request(final String url, final Map<String, 
?> form, final Map<Str
      * @return String
      * @throws IOException IOException
      */
-    public String requestJson(final String url, final String json,
+    public Response requestJson(final String url, final String json,
         final Map<String, String> header) throws IOException {
-        RequestBody body = RequestBody.create(MEDIA_TYPE_JSON, json);
+        RequestBody body = 
RequestBody.create(okhttp3.MediaType.parse(MediaType.APPLICATION_JSON_VALUE), 
json);

Review Comment:
   remove this package



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to