fix docs formatting for http method transformation

This commit is contained in:
TomPallister 2020-02-09 18:15:24 +00:00
parent ddf8b01d36
commit fc3b6fdb8b

View File

@ -7,7 +7,7 @@ This achieved by setting the following ReRoute configuration:
.. code-block:: json
{
{
"DownstreamPathTemplate": "/{url}",
"UpstreamPathTemplate": "/{url}",
"UpstreamHttpMethod": [
@ -21,7 +21,7 @@ This achieved by setting the following ReRoute configuration:
"Port": 53271
}
],
}
}
The key property here is DownstreamHttpMethod which is set as POST and the ReRoute will only match on GET as set by UpstreamHttpMethod.