英文:
Calling MuleSoft API Proxy Service
问题
MuleSoft已经设置了一个代理服务,该服务提供了来自公共API的可用资源。
我们有一个内部应用程序,可以默认配置为直接调用和消耗来自传统API的资源。
问题是,如果这个内部应用程序可以访问标准API,那么它是否能以相同的方式访问MuleSoft代理,通过调用一个端点/方法?
还是我们可能需要一些其他/额外的客户端或其他配置,以允许这个内部应用程序连接并从MuleSoft代理服务中提取资源?
英文:
MuleSoft has a proxy service set-up which provides the resources available from a public API.
We have an internal application which, out of the box, can be configured to call and consume resources directly from a traditional API.
The question is if this internal application can hit a standard API should it be able to hit a MuleSoft proxy in the same way, by making a call to an endpoint/method?
Or would we likely need some other/additional kind of client or other configuration to allow this internal application to connect and pull the resources from the MuleSoft proxy service?
答案1
得分: 0
假设您在谈论一个合理的标准REST API,该API可以通过RAML或OAS规范定义,那么与对实际API实现进行请求相同。
英文:
Assuming that you are talking about a reasonable standard REST API, that can be defined through a RAML or OAS specification, it should be the same as making requests to the actual API implementation.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论