Multiple ChoiceIntermediate 30s
Content negotiation
Choose the best answer for: response format
Options
- 1Accept header lets client request JSON, XML, etc.
- 2Server decides always, since the format is fixed per route
- 3Only XML, because negotiation defaults to XML when unset
- 4Only JSON, since the API hardcodes JSON as its one format
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.