Reject promise if response contains stat !== 'ok'