API Testing · Junior · Question 62 of 75
What is HEAD useful for?
- 1Sending only headers to create a new resource
- 2Getting the headers of a resource without its body
- 3Reading the first line of a large response body
Show the answer
Correct answer: Getting the headers of a resource without its body
Explanation
HEAD is like GET without the body. It checks existence, size or caching headers cheaply.