throw response body as error if unexpected response format
Merge pull request #5 from catalyst-zero/auth-header

throw response body as error if unexpected response format