fixed PUT and POST
Merge pull request #3 from yuramitsyuk/YM-work

fixed PUT and POST