Last active
March 7, 2021 13:47
-
-
Save CoskunKurtuldu/a1f53c9b86ac9013c31bcd36798c8def to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Routes": [ | |
//product api config | |
{ | |
"DownstreamPathTemplate": "/api/product/{everything}", | |
"DownstreamScheme": "https", | |
"DownstreamHostAndPorts": [ | |
{ | |
"Host": "localhost", | |
"Port": 44336 | |
} | |
], | |
"UpstreamPathTemplate": "/api/product/{everything}", | |
"UpstreamHttpMethod": [ | |
"GET", | |
"POST", | |
"PUT", | |
"DELETE" | |
] | |
}, | |
//customer api config | |
{ | |
"DownstreamPathTemplate": "/api/customer/{everything}", | |
"DownstreamScheme": "https", | |
"DownstreamHostAndPorts": [ | |
{ | |
"Host": "localhost", | |
"Port": 41671 | |
} | |
], | |
"UpstreamPathTemplate": "/api/customer/{everything}", | |
"UpstreamHttpMethod": [ | |
"GET", | |
"POST", | |
"PUT", | |
"DELETE" | |
] | |
} | |
], | |
"GlobalConfiguration": { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment