You can check `content_type` in response. It should be `'application/json'`.