API Design · Junior · Question 53 of 75
What does HEAD /files/report.pdf return?
- 1Only the first byte of the file
- ✓Correct answer: The same headers as GET, without the body
- 3The file's metadata in JSON
Explanation
Clients use it to check existence, size (Content-Length) or freshness without downloading the content.