简体   繁体   English

express-gateway :合并请求

[英]express-gateway : Consolidate requests

Is there a way to chain / consolidate multiple REST calls?有没有办法链接/合并多个 REST 调用? For example, expose an api that would accept all order details and then when that api is called, make multiple calls for different steps like add to cart, checkout etc and when it's all done, send a response back.例如,公开一个接受所有订单详细信息的 api,然后在调用该 api 时,对不同的步骤进行多次调用,例如添加到购物车、结帐等,并在全部完成后发送回响应。

unfortunately we're not offering such feature just yet, although it's highly requested, so I feel we will start to work it kind of soon.不幸的是,我们还没有提供这样的功能,尽管它的要求很高,所以我觉得我们很快就会开始工作。

In meantime, you can reach almost the same feature through a plugin that you can write by yourself.同时,您可以通过自己编写的插件实现几乎相同的功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM