Some devnet course examples for Zintis
1 Two examples of using curl to the Internation Chuck Norris Database
From the youtube Devnet course: https://youtu.be/1sauCq5Hnoc
- curl https://api.icndb.com/jokes/random
- curl https://api.icndb.com/jokes/random?limitTo=nerdy
- curl -v https://api.icndb.com/jokes/random
Try opening these here, by putting your cursos on the link, and hitting C-c C-o to 'open'
2 how to add a link:
- ctrl-c Ctrl-l will add a link.
- I learned this first from here
2.1 these too can be expanded or contracted using the tab key on the * or **
- org mode has plenty of features.
- these are just the simplest features with which I have scratch the surface
3 RESTCONF examples:
- only works if I have connected to the Cisco DevNet sandbox, using Anyconnect with the registerd user/passwd
curl -vk -u root:cisco123 -H 'accept: application/yang-data+json' \ https://10.10.20.21/restconf/data/ietf-interfaces:interfaces/interface=GigabitEthernet2 \ HTTP/1.1