我正在试用WSO2 api管理器。
我使用的示例api是:
http://www.thomas-bayer.com/sqlrest/CUSTOMER托管的api url是
https://localhost:8243/customer/1.0.0/1当我调用内部url时,我在出站消息中看到以下标题
GET http://www.thomas-bayer.com/sqlrest/CUSTOMER/1 HTTP/1.1
Accept-Encoding: gzip,deflate
Host: www.thomas-bayer.com
Connection: Keep-Alive
User-Agent: Synapse-PT-HttpComponents-NIO然而,我收到以下消息
在接收请求之前由目标主机关闭连接
如果我直接访问url (http://www.thomas-bayer.com/sqlrest/CUSTOMER/1),它就能工作。
知道为什么会发生这种事吗?
发布于 2015-12-09 06:48:02
我相信在发布API时,您定义URL模式的方式在API Manager Publisher中是不正确的。
我就是这么做的,
在定义了上述方法之后,
https://stackoverflow.com/questions/23550886
复制相似问题