Changed upload functions to return the response
Merge pull request #1 from datagutten/master

Changed upload functions to return the response