skip to Main Content

Best way to design a URI for REST API

I am designing a REST API with similar functionality as of Posts and Comments in Facebook. URI looks like: /posts/{post-id}/comments/{comment-id} To get all the comments I use the collection URI naming standard. For example: /posts/{post-id}/comments But I am having difficulty…

VIEW QUESTION
Back To Top
Search