Skip to content

Commit dd1d0e3

Browse files
committed
url tracking changes
1 parent fb33530 commit dd1d0e3

File tree

15 files changed

+9
-9
lines changed

15 files changed

+9
-9
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are on a DevNet Zone station, <a href="https://chrome.google.com/webstore
2020

2121
**Access to an APIC-EM Controller**
2222
* 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 [DevNet Sandbox](https://developer.cisco.com/site/devnet/sandbox/) Always-On APIC-EM Lab: [https://sandboxapic.cisco.com](https://sandboxapic.cisco.com).
23+
* **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](https://devnetapi.cisco.com/sandbox/apic_em).
2424
The login credentials for the always on sandbox are **username:** devnetuser and **password:** Cisco123!
2525

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To construct a request, you need to know the following information for the API t
1111
- **URL**
1212
* The URL for the endpoint you want to call
1313
* Example: http://{APIC-EMController}/api/v1/ticket
14-
* *If you are not using your own APIC-EM controller*, use the [DevNet Sandbox](https://developer.cisco.com/site/devnet/sandbox/) Always-On APIC-EM Lab: [https://sandboxapic.cisco.com](https://sandboxapic.cisco.com).
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](https://devnetapi.cisco.com/sandbox/apic_em).
1515
- **URL Parameters**
1616
* The parameters that you can pass as part of the URL.
1717
- **Authentication**

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ To get the service ticket our request will look like this:
3838
* **Method** - POST
3939
* **URL** - https://{APIC-EM-Server}/api/v1/ticket
4040
* substitute in address for the APIC-EM controller you are using
41-
* If you are not using your own APIC-EM controller, use the [DevNet Sandbox](https://developer.cisco.com/site/devnet/sandbox/) Always-On APIC-EM Lab: [https://sandboxapic.cisco.com](https://sandboxapic.cisco.com).
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](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**

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ We are going to use Postman as an example of a REST client in this lab..
1414
You may need to accept the SSL certificate before calling the APIs in Postman. If you see a certificate warning when visiting the sandbox, then follow these steps. If you are not seeing a warning, then you can skip these steps.
1515

1616
1. Open Chrome
17-
2. If you are using the DevNet Always-On APIC-EM Sandbox go to https://sandboxapic.cisco.com .
17+
2. If you are using the DevNet Always-On APIC-EM Sandbox go to [https://sandboxapic.cisco.com](https://sandboxapic.cisco.com).
1818
3. If you receive a message specifying that there's a certificate issue, click on the 'Advanced' link. Otherwise, if you are taken to the APIC-EM UI login screen skip to section 'Using Postman to make REST API Calls'.<br/><br/>
1919
![](/posts/files/coding-101-rest-basics-ga/assets/images/ssl1.png)<br/><br/>
2020
4. Next click on the 'Proceed to <your IP>' link<br/><br/>
@@ -35,7 +35,7 @@ You may need to accept the SSL certificate before calling the APIs in Postman.
3535
* ``A.`` Select **POST** in the Method drop down
3636
* **URL**
3737
* ``B.`` Enter **http://{APIC-EMController}/api/v1/ticket**
38-
* If you are not using your own APIC-EM controller, use the [DevNet Sandbox](https://developer.cisco.com/site/devnet/sandbox/) Always-On APIC-EM Lab: [https://sandboxapic.cisco.com](https://sandboxapic.cisco.com).
38+
* If you are not using your own APIC-EM controller, use the Always-On APIC-EM Lab: [https://devnetapi.cisco.com/sandbox/apic_em](https://devnetapi.cisco.com/sandbox/apic_em).
3939
* **Body**
4040
* ``C.`` Enter the username and password in JSON format. These credentials are used to log into the APIC-EM Controller. If you are accessing the DevNet APIC-EM Always-On Lab, enter the username and password specified above. Otherwise, enter the required username and password for your APIC-EM Controller.
4141
* **Headers**

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To get the entire list of Hosts, our request will be like this:
4141
* **Method** - GET
4242
* **URL** - https://{APIC-EM-Server}/api/v1/host
4343
* substitute in address for the APIC-EM controller you are using
44-
* If you are not using your own APIC-EM Controller, use the [DevNet Sandbox](https://developer.cisco.com/site/devnet/sandbox/) Always-On APIC-EM Lab: [https://sandboxapic.cisco.com](https://sandboxapic.cisco.com).
44+
* If you are not using your own APIC-EM Controller, use the Always-On APIC-EM Lab: [https://devnetapi.cisco.com/sandbox/apic_em](https://devnetapi.cisco.com/sandbox/apic_em).
4545
* **Headers**
4646
* For Authentication purposes we need to add the service ticket that was created earlier. On the left side of the header we add the text 'X-Auth-Token'. On the right side we add the service ticket value that was returned by calling the Create Ticket endpoint.
4747
* When using GET a header for the content is not required for this request, but in practice it's good to specify the content in the header anyway as 'Content-Type' 'application/json'

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* `A.` Select **GET** in the Method drop down
1010
* **URL**
1111
* `B.` Enter **http://{APIC-EMController}/api/v1/host**
12-
* If you are not using your own APIC-EM Controller, use the [DevNet Sandbox](https://developer.cisco.com/site/devnet/sandbox/) Always-On APIC-EM Lab: [https://sandboxapic.cisco.com](https://sandboxapic.cisco.com).
12+
* If you are not using your own APIC-EM Controller, use the Always-On APIC-EM Lab: [https://devnetapi.cisco.com/sandbox/apic_em](https://devnetapi.cisco.com/sandbox/apic_em).
1313
* **Headers**
1414
* `C.` Enter the 'Content-Type' and value 'application/json'
1515
* `C.` Enter the 'X-Auth-Token' and the service ticket created earlier. The 'X-Auth-Token' is required for all APIC-EM Controller API calls.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You can look at the details of the Get Network Device API from the -- <a href="h
1212
* `A.` Select **GET** in the Method drop down
1313
* **URL**
1414
* `B.` Enter **http://{APIC-EMController}/api/v1/network-device**
15-
* If you are not using your own APIC-EM Controller, use the [DevNet Sandbox](https://developer.cisco.com/site/devnet/sandbox/) Always-On APIC-EM Lab: [https://sandboxapic.cisco.com](https://sandboxapic.cisco.com).
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](https://devnetapi.cisco.com/sandbox/apic_em).
1616
* **Headers**
1717
* `C.` Enter the 'Content-Type' and value 'application/json'
1818
* `C.` Enter the 'X-Auth-Token' and the service ticket created earlier. The 'X-Auth-Token' is required for all APIC-EM Controller API calls.
Loading
Loading
Loading

0 commit comments

Comments
 (0)