-
Notifications
You must be signed in to change notification settings - Fork 5
/
proxies.json
33 lines (33 loc) · 1.14 KB
/
proxies.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"$schema": "http://json.schemastore.org/proxies",
"proxies": {
"CustomerCreateProxy": {
"matchCondition": {
"methods": [ "PUT" ],
"route": "/proxy/create/"
},
"backendUri": "https://%AnotherAppId%.azurewebsites.net/api/customers/"
},
"CustomerDeleteProxy": {
"matchCondition": {
"methods": [ "DELETE" ],
"route": "/proxy/delete/{customerid}"
},
"backendUri": "https://%AnotherAppId%.azurewebsites.net/api/customers/del/{customerid}"
},
"CustomerReadProxy": {
"matchCondition": {
"methods": [ "GET" ],
"route": "/proxy/read/{customerid}"
},
"backendUri": "https://%AnotherAppId%.azurewebsites.net/api/customers/{customerid}"
},
"CustomerUpdateProxy": {
"matchCondition": {
"methods": [ "POST" ],
"route": "/proxy/update/{id}"
},
"backendUri": "https://%AnotherAppId%.azurewebsites.net/api/customers/update/{id}"
}
}
}