For Basic Authentication in REST APIs, the Base64 encoded credentials must be included in the header of the HTTP request. The correct method is to include the following header in the request: Authorization: Basic am9objowMTlzNDU2Nzg= References: Cisco DevNet Associate Certification Guide, Chapter on REST API Authentication methods.