API Design · Middle · Question 66 of 75
What does the Prefer: return=minimal request header ask for?
- 1A lower API version
- ✓Correct answer: That the server skip the full resource in the response (e.g. reply 204 after an update) to save bandwidth
- 3The smallest possible JSON field names
Explanation
return=representation asks for the full updated resource instead. The server reports what it applied with Preference-Applied.