API Testing · Middle · Question 16 of 75

What should a request with If-None-Match and a matching ETag return?

Show the answer

Correct answer: 304 Not Modified with no body

Explanation

This saves bandwidth. Tests check the ETag changes when the resource changes and stays the same otherwise.

Further reading

Problem with a question

API Testing · Middle · question 16

Test yourself

Take the API Testing · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz