fixed 2 bugs in put:
- make the data not mandatory (so you can use --from)
- use the method parameter in readFileOrFiles not HTTPMETHOD.POST (for the single file case)
Merge pull request #25 from edmund-wagner/master

bugfixes for put method