Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 41

An ETag header is included in the HTTP response for an API resource.
What are two benefits of using the value of the ETag for future interactions involving the same API resource? (Choose two.)

Answer options

Correct answer: A, B

Explanation

Using the ETag value allows for caching and optimization of response payloads by enabling clients to avoid downloading unchanged resources, thus improving performance. Additionally, it facilitates creating conditional requests, as clients can specify the ETag to ensure they only receive updates if the resource has changed. The other options do not directly relate to the core benefits provided by ETags in API interactions.