Skip to content
Permalink
Browse files
switched images around
  • Loading branch information
aa7401 committed Oct 18, 2018
1 parent 852785c commit ab250e09bc66539530de6c6bad9747769e9f741c
Showing 1 changed file with 2 additions and 2 deletions.
@@ -30,11 +30,11 @@ Install the [Postman](https://www.getpostman.com) software and launch. Now start

To add items to a collection we need to use the **POST** method, specifying the data in the request body. In postman, select the **POST** method from the dropdown list and enter the collection URL to the right of this as shown below. In the **Headers** tab create a new header called `Content-Type` with a value of `application/json` to let the API know your data is in the JSON format.

![the Postman tool](exercises/.images/postman_headers.png)
![the Postman tool](exercises/.images/postman_body.png)

In the request **Body** tab enter the required data as a JSON string. If you click on the **Send** button your request will be sent to the API and you should see some data in the _response body_ tab as shown below. Finally click on the blue **Send** button to send the HTTP request to the API.

![the Postman tool](exercises/.images/postman_body.png)
![the Postman tool](exercises/.images/postman_headers.png)

You have added a new resource to the **items** collection. Try adding a few other items.

0 comments on commit ab250e0

Please sign in to comment.