We use Post method to create a user
POST /users
We use Get method to retrieve the user.
- To retrieve all the users
Get /users
- To retrieve a single user
Get/ users/1
we use Delete method to delete the user.
Delete /user/ (id)
POST/ user/{id}/posts
Get/ user/{id}/posts
Get /user/ {id}/posts/{post_id}