added PUT with JSON
Merge pull request #2 from mccannmax/master

added PUT with JSON