## APIs Hereafter, we report the designed HTTP APIs, also implemented in the project. ### __List all the films__ URL: `/api/films` HTTP Method: GET Description: Get all the available films. Request body:_None_ Response: `200 OK` (success) `500 Internal Server Error` (generic error). `401 Unauthorized` (not logged in or wrong permissions) Response body: ``` [ { "id":1 "title":"Pulp Fiction", "favorite":1, "watchdate":"2022-03-10", "rating":5, "user":1 }, { "id":2 "title":"21 Grams", "favorite":1, "watchdate":"2022-04-17", "rating":4, "user":1 }, ... ] ```