Câu 2: 2V0-72-22: Professional Develop VMware Spring
Refer to the exhibit. How can a response status code be set for No Content (204)? (Choose the best answer.)
Nội dung câu hỏi
Refer to the exhibit. How can a response status code be set for No Content (204)? (Choose the best answer.)
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Annotate the update() handler method with @PutMapping(“/store/orders/{id”}”, HttpStatus.NO_CONTENT).
- B. Annotate the update() handler method with @ResponseStatus(HttpStatus.NO_CONTENT). — đáp án hiện tại
- C. Annotate the update() handler method with @ResponseEntity(204).
- D. The update() handler method cannot return a void type, it must return a ResponseEntity type.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.