SDN301m_-_PE_-_SU_2024_2148.webp
ThanhTam811

SDN301m_-_PE_-_SU_2024_2148.webp

Body
Pretty
1
2
3
4
5
6
500 Internal Server Error 46 ms 350 B
Save as example
Raw Preview Visualize
JSON
{
"error": {
"status": 500,
"message": "movie validation failed: title: The movie title is required"
}
}
Figure 3 - Returns an error object when the title field is missing
The movie genres only accept values including: "Action, Drama, Comedy, Cartoon". If
the data is incorrect, an error will be displayed as shown in Figure 4 - (0.25 marks).
Body
Pretty
1
2
34
5
6
500 Internal Server Error 35 ms 389 B
Save as example 000
Raw Preview Visualize
JSON
{
"error": {
"status": 500,
"message": "movie validation failed: genres.0: Comedy 1 is not supported,
genres.1: Action 2 is not supported"
}
}
Figure 4 - Returns an error object when the genres field has an incorrect value
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
1,134
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
182.6 KB
Dimensions
1920px x 813px

Share this media

Back
Bên trên Bottom