You might want to check `res.statusCode` too. It'll depend on the API, but probably make sure it's 200.