parse data only on successful api requests
Merge pull request #3 from kraeuschen/master

parse body only on successful api requests