There are 64 characters represented in total (26 Uppercase, 26 Lowercase, 10 numbers, and + and / characters).It’s a conversion between bytes and ASCII characters.I encourage you to read the article to gain a better understand. There are quite a few articles out there, but the one that I found on Stack Abuse explained it quite well and simply enough. If you wanted to follow along, open up the Always-On sandbox for Cisco DNA Center AO 2.1.2.5. ![]() This article is going to briefly explain base64 encoding and how to use it for authorization with REST API’s, specifically Cisco DNA Center. The one that I’m currently exploring is the Cisco DNA Center REST API. These environments permit a developer access to a wide variety of technologies that Cisco customers deploy, including ACI, ISE, FirePower FMC, Viptela vManage, StealthWatch, Umbrella, Webex Meetings, and many more. Today while reading through the official certification guide it talked about how authorization into the API required that your credentials be passed as a base64 encoded string, but it didn’t indicate how to accomplish this.įor those that aren’t familiar with Cisco’s DevNet Sandboxes, Cisco provides free access to read-only always-on and reservation based sandbox environments. ![]() I have been exploring the Cisco DNA Center REST API as part of studying for the Cisco Certified DevNet Associate certification exam. HTTP Basic Auth with Ansible URI Module.A quicker way of using HTTP Basic Auth with Requests. ![]() Base64 Encoding with HTTP Basic Auth for API’s
0 Comments
Leave a Reply. |