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)