November 2018
Intermediate to advanced
404 pages
10h 16m
English
In this chapter's myJournal application, all resources are under /api, which indicates that the resources are available through an API. Each endpoint in the API represents one kind of resource. If you intend to provide both web applications that render web pages (similar to what you have done in previous chapters) and web services with the RESTful API, the top-level /api path in the URIs is used to distinguish your RESTful APIs from the rest of the web applications.
After that, the top-level resource is the journal itself, as in /api/journal.
It is recommended to start the top-level resource with the application because you may want to have other sub-applications at the top-level URI.
For example, ...
Read now
Unlock full access