Make sure request succeeds before trying to decode body as json
Merge pull request #107 from p-push/extra-assert

Make sure request succeeds before trying to decode body as json