Get Users:
curl –i –X GET http://localhost/rest/api/users
Post (create new) User:
curl –i –X POST –d '{"name":"John Doe","email":"anemail@gmail.com","age":28}' http://localhost/rest/api/user
Put (update) User:
curl –i –X PUT –d '{"email":"jdoe@yahoo.com","age":38}' http://localhost/rest/api/user/8
Delete User:
curl –i –X DELETE http://localhost/rest/api/user/8