support put and patch requests
Merge pull request #24 from pezra/put-support

Support put and patch requests