json-routing-v-ks
Version:
Extended version of Giorgio Modoni JSON ROUTING
36 lines • 523 B
JSON
{
"/": {
"GET": {
"route": "index"
},
"POST": {
"route": "postfunction"
}
},
"/custom": {
"GET": {
"route": "custom:index"
}
},
"/customdir": {
"GET": {
"route": "./demo/customdir/customp:customaction",
"cors":true
}
},
"/policy": {
"GET": {
"route": "index",
"policy": "test:index"
}
},
"/policyarray": {
"GET": {
"route": "index",
"policy": [
"test:index",
"test:other"
]
}
}
}