response.json method will cause error, replaced with response.content