Map<String, Link> shoppingLinks = processLinkHeaders(response);
System.out.println("** Populate Products");
request = new ClientRequest(shoppingLinks.get("products").getHref());
Product product = new Product();
product.setName("iPhone");
product.setCost(199.99);
request.body("application/xml", product);
response = request.post();
response.releaseConnection();
Assert.assertEquals(201, response.getStatus());
product = new Product();
product.setName("MacBook Pro");
product.setCost(3299.99);
request.body("application/xml", product);
response = request.post();
response.releaseConnection();
Assert.assertEquals(201, response.getStatus());
product = new Product();
product.setName("iPod");
product.setCost(49.99);
request.body("application/xml", product);
response = request.post();
response.releaseConnection();
Assert.assertEquals(201, response.getStatus());