ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 213 - 350-901 discussion

Report
Export

Refer to the exhibit.

A network engineer writes a script to test authentication workflow using Python and REST API. The engineer wants to ensure that the script handles expected errors by matching output to HTTP status codes The scnpt uses the Python requests module. Which line of code must be added on the snippet where the code is missing?

A.

requests.error_code

Answers
A.

requests.error_code

B.

response.sutus_code

Answers
B.

response.sutus_code

C.

response

Answers
C.

response

D.

requests.post

Answers
D.

requests.post

Suggested answer: B
asked 10/10/2024
Shivanth Jha
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first