Q38.webp
M

Q38.webp

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.

Thông tin

Category
PRP201c
Thêm bởi
Minh Tuấn1
Ngày thêm
Lượt xem
927
Lượt bình luận
2
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom