2
{
      "DownstreamPathTemplate": "/ProceedToBuy/PostWishList",
      "DownstreamScheme": "http",
      "DownstreamHostAndPorts": [
        {
          "Host": "localhost",
          "Port": 8003
        }
      ],
      "UpstreamPathTemplate": "/AddToWishlist",
      "UpstreamHttpMethod": [ "POST" ]
    }

I want to send json body with this route request.

Aman Gupta
  • 41
  • 7

1 Answers1

1

Actually you don't have to route json the request will automatically route to the downstream path, we can just directly make request to upstream path with json and it'll work!

Aman Gupta
  • 41
  • 7