Mul获取http参数
想要了解Mule如何获取http参数,您只需要一张图... 示例:
1、http://localhost:8081/greet?username=yourName 可以通过#[message.inboundProperties.'http.query.params'.username]获取参数
2、对于通过post提交的参数,可以通过#[payload.inputName]的方式获取 3、如果提交的参数为json字符串,例如{"employee":{"username":"zhangsan"}},可以通过#[json:employee/username]的方式获取。

浙公网安备 33010602011771号