You can use the in-built json() method to convert your HTTP response data to a python dict when you have a content-type of application/json . >>> r = requests. get(‘https://someurl.com’) >>> r.
You can use the in-built json() method to convert your HTTP response data to a python dict when you have a content-type of application/json . >>> r = requests. get(‘https://someurl.com’) >>> r.