Refer to the exhibit. A network administrator is using a Python script to test a REST API request. The traceback message indicates there is an error in the URI. What is the error?
IT Exam Items Repository › Category: DevNet › Refer to the exhibit. A network administrator is using a Python script to test a REST API request. The traceback message indicates there is an error in the URI. What is the error?
Refer to the exhibit. A network administrator is using a Python script to test a REST API request. The traceback message indicates there is an error in the URI. What is the error?

- The query component is missing.
- The destination web host address is invalid.
- The protocol is missing.
- The path in the URI is invalid.
Explanation: The error message indicates “MissingSchema”. A REST API request URI needs the URI to use the proper HTTP protocol, HTTP or HTTPS.
Related exam: 4.9.3 Module 4: Understanding and Using APIs Quiz
About The Author
The ITExamAnswers Editorial Team is a dedicated group of certified IT professionals and network engineers. We rigorously review, verify, and update all exam materials to ensure you receive the most accurate and reliable resources for your certification journey.