Direction: Choose the correct option
Q1.
What is the `requests` library used for?
Direction: Choose the correct option
Q2.
How do you make a GET request with requests?
Direction: Choose the correct option
Q3.
How do you access the response content as text?
Direction: Choose the correct option
Q4.
What status code indicates success (OK)?
Direction: Choose the correct option
Q5.
How do you send JSON data in a POST request?
Direction: Choose the correct option
Q6.
How do you pass query parameters in a GET request?
Direction: Choose the correct option
Q7.
What is a session object in requests?
Direction: Choose the correct option
Q8.
How do you handle request exceptions?
Direction: Choose the correct option
Q9.
What does `response.json()` do?
Direction: Choose the correct option
Q10.
How do you set a custom header?
