June 2025
Intermediate to advanced
837 pages
24h 50m
English
The movie database currently has one type of resource: the movie. You can access this resource via the URL http://localhost:8080/movie. A request to this address should return all the movies that exist in the database. If you’re only interested in a single data record, you must use the URL http://localhost:8080/movie/1. According to the specification, you must use the GET method for read access.
If you access http://localhost:8080/movie to display all records for a list view, for example, this is mapped via the router in the movie/index.js file. To make the new interface work, you reduce the size of this file significantly by removing all routes except the common list route. ...
Read now
Unlock full access