Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 311

A REST API service requires basic authentication. A user's credentials are "ned/33662255" and the Base64 encoding of the credentials is "a2lsbGE6NDU4ODI5". Which requirement must be met for a request to be authenticated?

Answer options

Correct answer: A

Explanation

The correct answer is A because basic authentication requires the credentials to be sent in the Authorization header as defined by the HTTP specification. Options B, C, and D are incorrect because they either suggest placing the authorization information in the payload or using an incorrect format for the authentication credentials.