All challenges
Multiple ChoiceIntermediate 30s

Content negotiation

Choose the best answer for: response format
Options
  1. 1Accept header lets client request JSON, XML, etc.
  2. 2Server decides always, since the format is fixed per route
  3. 3Only XML, because negotiation defaults to XML when unset
  4. 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.

Play this in a 3-minute battle