Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 386
When a developer sends an HTTP request to an API, which two elements are expected in an HTTP response? (Choose two.)
Answer options
- A. headers
- B. GET request
- C. POST request
- D. scripts
- E. status code
Correct answer: A, E
Explanation
The correct answer includes 'headers' and 'status code' because these are standard components of an HTTP response, providing metadata and the result of the request, respectively. Options B, C, and D are incorrect as they refer to types of requests or unrelated elements that do not appear in the response.