处理远程调用post表单参数问题
This commit is contained in:
parent
36e5ebaffe
commit
124a2ff0da
@ -213,7 +213,7 @@ public class RestRemoteRequest {
|
|||||||
httpHeaders.setContentType(MediaType.APPLICATION_FORM_URLENCODED);
|
httpHeaders.setContentType(MediaType.APPLICATION_FORM_URLENCODED);
|
||||||
}
|
}
|
||||||
if (!formVariableParams.isEmpty()) {
|
if (!formVariableParams.isEmpty()) {
|
||||||
formVariableParams.forEach(multiValueMap::add);
|
formVariableParams.forEach(multiValueMap::put);
|
||||||
}
|
}
|
||||||
httpEntity = new HttpEntity(multiValueMap, httpHeaders);
|
httpEntity = new HttpEntity(multiValueMap, httpHeaders);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user