httpServletRequest.getQueryString()返回null_source string may not be null-CSDN博客

网站介绍:由于项目中有在使用GET请求时,请求参数包含特殊字符发生截断,想着使用POST方法,但是是在测试请求时发现接口返回参数异常:java.lang.IllegalArgumentException: Source string may not be null at org.apache.http.util.Args.notNull(Args.java:54) at org.apache.http.entity.StringEntity.<init>(StringEn_source string may not be null