Illegal character in query at index

Reason: When the http request is made, the json parameter is not transcoded

Solution: transcode

 // 对json字符串jsonStr进行转码
  String encode = URLEncoder.encode(jsonStr, "UTF-8");

Guess you like

Origin blog.csdn.net/qq2942713658/article/details/123261671