|
1 | 1 |
|
2 | 2 | # Coding 101 - REST API Basics #
|
3 | 3 |
|
4 |
| -In this Learning Lab, you will learn the basics of consuming a REST API, and how to use POSTMAN to explore a REST API. |
5 |
| - |
| 4 | +This Learning Lab explains the basics of using a REST API, and how to use POSTMAN to explore a REST API. |
6 | 5 |
|
7 | 6 | ## Objective
|
8 | 7 |
|
9 |
| -Completion Time: 20 minutes |
10 |
| - |
11 |
| -* Understand the basics of consuming REST APIs |
12 |
| -* Learn how to use the POSTMAN REST Client to make API calls |
| 8 | +* Understand REST APIs |
| 9 | +* Learn how to use the POSTMAN application to make API calls |
13 | 10 |
|
14 | 11 |
|
15 | 12 | ## Prerequisites
|
16 | 13 |
|
17 |
| -In this lab, we are going to use <a href="https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en" target="_blank">POSTMAN</a> to make the REST API calls. |
| 14 | +Install <a href="https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en" target="_blank">POSTMAN</a>. |
18 | 15 |
|
19 |
| -If you are on a DevNet Zone station, <a href="https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en" target="_blank">POSTMAN</a> is already installed and can be launched from the Google App Launcher or from Chrome by clicking <a href="https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en" target="_blank">here</a> and hitting **Launch App**. |
| 16 | +If you are on a DevNet Zone station, <a href="https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en" target="_blank">POSTMAN</a> is already installed. You can start it from the Google App Launcher or from Chrome by clicking <a href="https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en" target="_blank">here</a> and clicking on **Launch App**. |
20 | 17 |
|
21 | 18 | **Access to an APIC-EM Controller**
|
22 |
| -* To run these code samples, you will need access to an APIC-EM controller. |
23 |
| -* **If you are not using your own APIC-EM controller**, you can use the Always-On APIC-EM Lab: https://sandboxapicem.cisco.com . |
24 |
| -The login credentials for the always on sandbox are **username:** devnetuser and **password:** Cisco123! |
| 19 | +* To run the code samples, you will need access to an APIC-EM controller. |
| 20 | +* **If you are not using your own APIC-EM controller**, you can use the Always-On APIC-EM Lab: |
| 21 | + * https://sandboxapicem.cisco.com |
| 22 | + * **username:** devnetuser |
| 23 | + * **password:** Cisco123! |
25 | 24 |
|
26 | 25 | ## Step 1. Find the APIC-EM API Resources
|
27 | 26 |
|
28 |
| -We are going to use the APIC-EM API as an example of a REST API. So before we begin, we need to locate the APIC-EM resources on DevNet. |
| 27 | +We are going to use the APIC-EM API as an example of a REST API. Locate the APIC-EM resources on DevNet. |
29 | 28 |
|
30 |
| -1. In the browser, navigate to <a href="https://developer.cisco.com" target="_blank">DevNet</a> |
| 29 | +1. In a browser, navigate to <a href="https://developer.cisco.com" target="_blank">DevNet</a> |
31 | 30 | * Click the **Login** link located on the top right of the web page.
|
32 | 31 | <br/><br/>
|
33 | 32 | * On the Log In web page, enter your log in credentials (CCO ID) and click the **Log In** button
|
34 | 33 | <br/>
|
35 | 34 | * If you do not have a Cisco Connection Online ID (CCO ID) click the **Register Now** button and follow the instructions. Then, return to the Log In web page and enter your credentials.
|
36 | 35 | <br/><br/>
|
37 |
| -2. Use the menu at the top to navigate directly to the APIC-EM developer resources. |
38 |
| - * Click the **Technologies** link to access the Technology menu. Inside the menu click **Networking** followed by **APIC-EM**<br/> |
| 36 | +2. Use the menu at the top to navigate to the APIC-EM web portal. |
| 37 | + * Click the **Technologies** link to access the Technology menu. |
| 38 | + * Click **Networking** |
| 39 | + * Click **APIC-EM**<br/> |
39 | 40 | 
|
40 | 41 | <br/><br/>
|
41 | 42 |
|
42 |
| -3. You are now at the APIC-EM web portal. Click the `Docs` link.<br/> |
| 43 | +3. On the APIC-EM web portal. Click the `Docs` link.<br/> |
43 | 44 | 
|
44 | 45 |
|
45 |
| -4. At the APIC-EM Documentation web page open the API Reference doc in a separate tab while you are working on this lab. |
| 46 | +4. On the APIC-EM Documentation web page open the API Reference doc in a separate tab. This will be a useful reference while you work on this lab. |
46 | 47 | 
|
47 | 48 | <br/>
|
48 | 49 | <br/>
|
|
0 commit comments