fixed put and removed print statements
Merge pull request #48 from keymholio/api-test

fixed put and removed print statements