This combines your code fixing #18 with support for PUT request (typo in my commit message - should be PUT, not GET).
I'm not that familiar with API requests, so you may need to tweak it a bit in case PUT takes different params than POST, but it does seem to be working for me.
This combines your code fixing #18 with support for PUT request (typo in my commit message - should be PUT, not GET).
I'm not that familiar with API requests, so you may need to tweak it a bit in case PUT takes different params than POST, but it does seem to be working for me.