Solution for Chapter 2: Understanding HTTP, REST, and APIs

The task in this exercise is to move our services folder (and all the API calls stored there) into the project repository we created in chapter 2 (see ​Chapter Exercise​).

You can use the before folder for this chapter as a clean start for this exercise. It picks up where our last exercise left off.

Depending on whether you followed along in chapter 2 with the process of creating your onboarding project folder and subsequent changes, you may have some of this exercise already completed. To keep things clear, we’ll start from the beginning by creating a new onboarding folder, making it a git repository, and then copying the services folder into the repository and committing the ...

Get Design and Build Great Web APIs now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.