SDN301m_-_PE_-_SU_2024_2148.webp
ThanhTam811

SDN301m_-_PE_-_SU_2024_2148.webp

Statistics of the number of movies by producer name as shown in Figure 8, with the following API endpoint parameters:
URL: http://localhost:9999/api/movie/count-by-producer/:producerName
Method: GET
Example:
GET
http://localhost:9999/api/movie/count-by-producer/Corie Awde
Params Auth
Body
Pretty Raw Preview Visualize JSON
1
2
3
4
{
Headers (9)
Body.
Scripts Tests
Settings
Send
29 ms 279 B
}
Save as example
200 OK
"producer": "Corie Awde",
"numberOfMovies": 4
Cookies
Figure 8 - Number of movies produced by "Corie Awde"
Correct number of movies by producer name - (1 mark).
Display the correct format of the returned object - (0.5 marks).
If the producer name does not exist, return the result as shown in Figure 9 - (0.5 marks).
GET
http://localhost:9999/api/movie/count-by-producer/Corie Awde123
Send
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
SDN301m
Thêm bởi
ThanhTam811
Ngày thêm
Lượt xem
770
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
SDN301m_-_PE_-_SU_2024_2148.webp
File size
201.7 KB
Dimensions
1920px x 813px

Share this media

Back
Bên trên Bottom