modifed api rest calls based on http methods
Merge pull request #221 from hasantayyar/master

modifed api rest calls based on http methods