[API] fix exception triggered when API Response HTTP Code != 200
Merge pull request #15 from happypoulp/exceptions

[API] fix exception triggered when API Response HTTP Code != 200