Created
June 26, 2010 12:57
-
-
Save gnab/454034 to your computer and use it in GitHub Desktop.
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
resources: { | |
'messages' : { | |
'list' : function(req, resp) { ... } // GET til /messages | |
'get' : function(req, resp, id) { ... } // GET til /messages/id | |
'save' : function(req, resp, id) { ... } // POST til /messages | |
'update' : function(req, resp, id) { ...} // POST til /messages/is | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment