Skip to content

Commit 970c81b

Browse files
jneiman08172017
1 parent 43de9bf commit 970c81b

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.DS_Store

8 KB
Binary file not shown.

labs/.DS_Store

6 KB
Binary file not shown.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Step 2. So what is a REST web service?
22

3-
### What is a Web Service? ###
3+
### What is a Web Service?###
44

55
A web service is a way for two systems to communicate through a defined interface.
66
There are two major types of web services – **REST** or **SOAP**.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
1. Set up the API call in Postman.
44
* Now, let's use the service ticket to authorize a request to GET the hosts from the controller.<br/><br/>
5-
![](/posts/files/coding-101-rest-baseics-ga/assets/images/postman4.png)<br/><br/>
5+
![](/posts/files/coding-101-rest-basics-ga/assets/images/postman4.png)<br/><br/>
66

77
2. Enter the following information:
88
* **Method**
@@ -25,7 +25,7 @@
2525
![](/posts/files/coding-101-rest-basics-ga/assets/images/postman5.png "Response")
2626

2727
## Things to Try
28-
1. In Postman append `?limit=1&offset=1` to the URL `http://{APIC-EMController}/api/v1/host` so it reads as `http://{APIC-EMController}/api/v1/host?limit=1&offset=1`. Press the **Send** button. How does the return data differ? Check the API Reference Guide for more information about the Get Host API call.
28+
1. In Postman append '?limit=1&offset=1' to the URL http://{APIC-EMController}/api/v1/host so reads as 'http://{APIC-EMController}/api/v1/host?limit=1&offset=1'. Press the **Send** button. How does the return data differ? Check the API Reference Guide for more information about the Get Host API call.
2929
<br/><br/>
3030

3131
#### Congrats! You just made your first REST API call using the APIC-EM Service Ticket! ####

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Let's take a look at the Get Network Devices endpoint. A Network Device transpor
55
You can look at the details of the Get Network Device API from the -- <a href="http://devnetapic.cisco.com/" target="_blank">APIC-EM API Docs</a>.
66

77
1. Setting up the API Call in Postman
8-
* Now, let's use the service ticket to authorize a request to GET the network devices from the controller. <br/><br/>
8+
* Now, let's use the service ticket to authorize a request to GET the network devices from the controller. <br/></br/>
99
![](/posts/files/coding-101-rest-basics-ga/assets/images/postman6.png)<br/><br/>
1010
2. Enter the information as shown below for our request to retrieve the list of network devices into the appropriate Postman fields:
1111
* **Method**
@@ -28,8 +28,8 @@ The output should look similar to the example. For display purposes, some record
2828
![](/posts/files/coding-101-rest-basics-ga/assets/images/postman7.png "Response")
2929

3030
### Things to Try
31-
* In Postman append to `/1/2` to the call `http://{APIC-EMController}/api/v1/network-device` so it reads as `http://{APIC-EMController}/api/v1/network-device/1/2` . Click the **Send** button. How does the output differ?
31+
* In Postman append to '/1/2' to the call http://{APIC-EMController}/api/v1/network-device so reads as 'http://{APIC-EMController}/api/v1/network-device/1/2' . Click the **Send** button. How does the output differ?
3232
* Compare the change you just made in Get Network Devices API call versus the change you made in the Get Hosts call in the previous exercise of Step 7. How are they different and why? Hint: Check the API Reference Guide for each of these API calls.
33-
* In Postman change the API call `http://{APIC-EMController}/api/v1/network-device/1/2` to `http://{APIC-EMController}/api/v1/user`. Press the **Send** button. How is the returned data different and what does it represent? Hint: Check the API Reference Guide.
33+
* In Postman change the API call 'http://{APIC-EMController}/api/v1/network-device/1/2' to 'http://{APIC-EMController}/api/v1/user'. Press the *Send* button. How is the returned data different and what does it represent? Hint: Check the API Reference Guide
3434

3535
### Congrats! You've just completed lab Coding 101 - REST API Basics!

0 commit comments

Comments
 (0)