【发布时间】:2015-04-28 09:45:21
【问题描述】:
在 Mule 3.6 中,我有以下 HTTP 请求连接器:
<http:request config-ref="IPAM_Request_Config" path="${ipam.path}" method="POST" doc:name="Send SMS to IPAM">
<http:request-builder>
<http:query-param paramName="mobile" value="sms.mobile"/>
<http:query-param paramName="textmsg" value="sms.text"/>
<http:query-param paramName="receiver" value="sms.receiver"/>
<http:query-param paramName="mobileoperator" value="sms.operator"/>
<http:query-param paramName="circle" value="sms.circle"/>
<http:query-param paramName="time" value="sms.time"/>
</http:request-builder>
</http:request>
如何强制将Content-Type 设为application/x-www-form-urlencoded。即使有效负载是org.mule.module.http.internal.ParameterMap,它也会占用text/plain;charset=windows-1252。
【问题讨论】: