Kizspy Question: 38
(Choose 1 answer)
Consider the following code:
response = requests.get('
https://api.github.com')
The response of a request often has some valuable information, known as a payload, in the request body.
Which of the following methods and properties are defined correctly to view the content of a response?
A. response.text returns the response content as a string object.
B. response.content returns the response content as a string object.
C. response.json returns the response content as a dict object.
D. response.text returns the response content as a bytes object.