PRP201c_-_SU_2024_-_TE2_2585.webp
Trung Kiên1

PRP201c_-_SU_2024_-_TE2_2585.webp

Kizspy | Question: 31 (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
Trung Kiên1
Ngày thêm
Lượt xem
1,098
Lượt bình luận
2
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom