Refer to the exhibit. A developer is constructing a Python script to check the link with a host at http://www.somehost.com/. Which function is performed by the script?
- to obtain an API key to access the host
- to obtain a token for the bearer authentication
- to verify the private API key that is used to access the host
- to verify the basic authentication credentials with the host
Explanation: Common types of REST API authentication mechanisms include Basic, Bearer, and API Key. Basic authentication uses the standard Basic HTTP authentication scheme by specifying credentials such as username/password pairs. The username is in plain text and the password is encoded using Base64.
Exam with this question: DevNet Associate (Version 1.0) - DevNet Associate (200-901) Certification Practice Exam Answers
Please login or Register to submit your answer