Returns an array containing all the movies from the database - (1 mark).
Display correct information of fields: director and producer - (0.5 marks).
Display correct information of the stars field - (0.5 marks).
Question 3.
List all movies by genre as shown in Figure 6, with the following API endpoint parameters:
URL:
http://localhost:9999/api/movie/by-genre/:genre
Method: GET
Example:
GET
http://localhost:9999/api/movie/by-genre/Cartoon
Params Authorization
Headers (9) Body Scripts Tests Settings
Send
Cookies
Zoom
+ 100%
Close