-
-
Save shadow-fox/c514f802f61211ade512 to your computer and use it in GitHub Desktop.
nested url resource
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
http://api.server/resource/id/child/:id | |
where resource id is compulsory but child's not. So that when queries for all resource's child the request will fire up | |
as http://api.server/resource/id/child , for creating a new child would be same. | |
For individual child records it would be http://api.server/resource/id/child/:id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment