10 REST Server
It is the mind that builds the body.—Friedrich Schiller
In the previous chapters, you’ve extended your web application step by step from a simple web server to using template engines and the integration of various databases. However, it often happens during development that such a setup isn’t suitable. Especially in the case of single-page applications, you don’t need a template engine because the result of an HTTP request is returned to the client as a JavaScript Object Notation (JSON) structure. Output in HTML documents is also not very helpful for the communication between server systems. Instead, other requirements are placed on the web server here, such as the ability to handle different HTTP request headers, or to support ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access