September 2017
Intermediate to advanced
244 pages
6h 44m
English
Lumen has built-in support for sending different types of responses, HTTP status codes and response headers. This is something that we previously discussed as important. It is even more important for web services because web services are used by a machine, on a human. The machine should be able to know what the response type is and what the status code is. This is not only useful to tell whether there is error or success but also to tell what type of error has occurred. You can look into this in more detail at https://lumen.laravel.com/docs/5.4/responses.
Read now
Unlock full access