java - Mule4 使用 REST API
问题描述
localhost:8081/getproduct/? productids=5d668dab0be6a263d464e822&productids=5d668daf0be6a263d464e823
有这个API。如何在 mule4 的查询参数中设置它?我为此使用了 set 变量,但是我只能使用传递一个productidattribute.queryParams.productIds
,但我需要传递productIds列表。如何使用setVariable
?
解决方案
推荐阅读
- c++ - 如何找到具有一组整数的函数的“最大绝对和”
- angular - 如何禁用输入框角2材质?
- c# - 创建一个泛型(但在声明时键入)表达式数组
- cobol - 如何在 COBOL 中使用 DIVIDE 和 CONDENSED NUMERIC Varibale
- python - 使用 Python 在 selenium Webdriver 中通过 Url 上传图像
- c - C中的低级打印
- javascript - VSCode 使用 JavaScript 自动导入 React Native
- java - 如何从另一个类访问没有 getter 方法的私有数组?
- python - 检索 Python 单个脚本的要求
- node.js - 按模型值环回公共访问