Fix empty post data bug
Closed this issue · 0 comments
h3xstream commented
The second condition is wrong:
if (requestBodyString.indexOf("=") == -1) {
//In the case of RAW body (json, binary, etc.)
paramsPost = new HashMap<String, String>();
if(!"".equals(requestBodyString)) {
requestBodyString = null;
}
}