Complete chapter 8 Rest API