Fetch the repository succeeded.
{
headers: {
id: <message_id>,
apiKey: <apid_key>,
signature: <signature>
},
url: <function_url> //[required]
method: <http_method>, //[optional]
body: <param_array> //[optional]
}
function url can be any format of HTTP URL, if no configuration, following the simple mapping rules:
/${module}/${language_method_name}[/${param1}/${param2}/.....]
If body is populated in request, the params list in URL is ignored
If RPC is based on MQ, add MQ prefix in url,
/${mq}/${module}/${language_method_name}[/${param1}/${param2}/.....]
or, add 3 key-value pairs in headers
{
cmd: 'pub',
mq: <mq_name>, //which MQ is the RPC based
ack: false //No ACK from zbus for RPC
}
{
status: 200|400|403|404|500 //required
body: <data_or_exception>,
id: <message_id>
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。