Skip to content

Commit 532d3f0

Browse files
committed
updates to coding101 lab
1 parent b7d7bcd commit 532d3f0

File tree

8 files changed

+17
-159
lines changed

8 files changed

+17
-159
lines changed

labs/coding-101-rest-basics-ga/1.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,23 @@ If you are on a DevNet Zone station, <a href="https://chrome.google.com/webstore
2121
**Access to an APIC-EM Controller**
2222
* To run these code samples, you will need access to an APIC-EM controller.
2323
* **If you are not using your own APIC-EM controller**, you can use the Always-On APIC-EM Lab: https[]()://devnetapi.cisco.com/sandbox/apic_em .
24-
The login credentials for the always on sandbox are **username:** devnetuser and **password:** Cisco123!
24+
The login credentials for the always on sandbox are **username:** devnetuser and **password:** Cisco123! More on this later.
2525

2626
## Step 1. Find the APIC-EM API Resources
2727

2828
We are going to use the APIC-EM API as an example of a REST API in this lab. So before we begin, we need to locate the APIC-EM resources on DevNet.
2929

3030
1. In the browser navigate to <a href="https://developer.cisco.com" target="_blank">DevNet</a>
31-
* If you have not yet created a DevNet userid click "Register" and follow the instructions.
32-
* After registering with DevNet, use your user id to login.
33-
![](/posts/files/coding-101-rest-basics-ga/assets/images/register.png)<br/>
34-
<br/><br/>
35-
36-
2. Use the menu at the top to navigate directly to the APIC-EM developer resources.<br/>
31+
* Click on the **Login** link located on the top right of the web page.
32+
![](/posts/files/coding-101-rest-basics-ga/assets/images/login.png)<br/><br/>
33+
* On the Log In web page enter your log in credentials (CCO ID) and click the **Log In** button
34+
![](/posts/files/coding-101-rest-basics-ga/assets/images/register.png)<br/>
35+
* If you do not have a Cisco Connection Online ID (CCO ID) click the **Register Now** button and follow the instructions. When done return to the Log In web page and enter your credentials.
36+
<br/><br/>
37+
2. Use the menu at the top to navigate directly to the APIC-EM developer resources.
38+
* Click on the **Technologies** link to access the Technology menu. Inside the menu click on **Networking** followed by **APIC-EM**<br/>
3739
![](/posts/files/coding-101-rest-basics-ga/assets/images/Menu.png)
3840
<br/><br/>
3941

40-
3. You will also want to open the API reference doc in a separate tab while you are working on this lab.<br/>
42+
3. You are now at the APIC-EM web portal. Open the API reference doc in a separate tab while you are working on this lab.<br/>
4143
![](/posts/files/coding-101-rest-basics-ga/assets/images/Ref.png)

labs/coding-101-rest-basics-ga/3.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ To construct a request, you need to know the following information for the API t
1010

1111
- **URL**
1212
* The URL for the endpoint you want to call
13-
* Example: http://{APIC-EMController}/api/v1/ticket
14-
* *If you are not using your own APIC-EM controller*, use the Always-On APIC-EM Lab: https[]()://devnetapi.cisco.com/sandbox/apic_em .
13+
* Example: ![http://{APIC-EMController}/api/v1/ticket]()
14+
* Where {APIC-EMController} is replaced by the IP or DNS of your controller
15+
* If you are not using your own APIC-EM controller, use the Always-On APIC-EM Lab: ![https://devnetapi.cisco.com/sandbox/apic_em]() .
1516
- **URL Parameters**
1617
* The parameters that you can pass as part of the URL.
1718
- **Authentication**

labs/coding-101-rest-basics-ga/4.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ https://{APIC-EM-Server}/api/v1/ticket
3636
To get the service ticket our request will look like this:
3737

3838
* **Method** - POST
39-
* **URL** - https://{APIC-EM-Server}/api/v1/ticket
40-
* substitute in address for the APIC-EM controller you are using
41-
* If you are not using your own APIC-EM controller, use the Always-On APIC-EM Lab: https[]()://devnetapi.cisco.com/sandbox/apic_em
39+
* **URL** - ![https://{APIC-EM-Server}/api/v1/ticket]()
40+
* Substitute {APIC-EM-Server} in the address for the APIC-EM controller you are using
41+
* If you are not using your own APIC-EM controller, use the Always-On APIC-EM Lab: ![https://devnetapi.cisco.com/sandbox/apic_em]()
4242
* **Headers**
4343
* For POST calls the ‘Content-Type’ must be specified as ‘application/json’ in the header. It’s typical to include this header for all REST method (GET, POST, PUT, DELETE …etc) calls.
4444
* **Authentication**
Loading
Loading
Loading

labs/coding-103-python-json/7.md

Lines changed: 0 additions & 145 deletions
This file was deleted.

labs/coding-103-python-json/coding-103-python-json.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"labId": "coding-103-python-json",
3-
"title": "Coding 103: Learning how to code with Python",
3+
"title": "Coding 103: Learning How to Code with Python",
44
"slug": "Learn the basics of how to write Python code and parse JSON",
55
"time": 35,
66
"byod": true,

0 commit comments

Comments
 (0)