{
"DownstreamPathTemplate": "/ProceedToBuy/PostWishList",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8003
}
],
"UpstreamPathTemplate": "/AddToWishlist",
"UpstreamHttpMethod": [ "POST" ]
}
我想用这个路由请求发送json主体。
实际上你不必路由json,请求会自动路由到下游路径,我们可以直接用json向上游路径发出请求,它就会起作用!