List of questions
Related questions
Question 247 - 350-901 discussion
Refer to the exhibit.
A network engineer needs to handle API errors in their requests when users do not have permission to access the resource, even if they are authenticated and authorized. Which line of code needs to be placed on the snippet where the code is missing to handle these API errors?
A.
if r.status_code == 403
B.
il if r.raise for status() == 403
C.
if r.raise for_status() = 401
D.
if r.status_code = 401
Your answer:
0 comments
Sorted by
Leave a comment first