September 2017
Intermediate to advanced
244 pages
6h 44m
English
Now, it is time to actually start writing the endpoints that we discussed in Chapter 1, RESTful Web Services, Introduction and Motivation, and wrote in plain Vanilla PHP in Chapter 3, Creating Restful Endpoints. So let's do that.
As it has a Controller and Model layer, we will start writing API from the Controller layer which will serve different endpoints. For the first controller, what we are going to write is PostController.
Read now
Unlock full access