Created
October 19, 2020 04:52
-
-
Save Cylix/6759e61862904e2f6ce41b74cbfa9e66 to your computer and use it in GitHub Desktop.
Reflection in C++14 - Routes Configuration in JSON
This file contains 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
{ | |
"/articles": [ | |
{ "method": "GET", "to": "articles#index" }, | |
{ "method": "POST", "to": "articles#create" } | |
], | |
"/articles/:id": [ | |
{ "method": "GET", "to": "articles#show" }, | |
{ "method": "PUT", "to": "articles#update" }, | |
{ "method": "DELETE", "to": "articles#destroy" } | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment