Rest API - URL and Resource Design
You want to design an API to manage blog posts and their comments. Which endpoint naming is best for retrieving all comments of a post with ID 45?
/posts/45/comments to get all comments for post 45.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions