All challenges
Multiple ChoiceIntermediate 30s

Filtering and sorting

Choose the best answer for: query parameters
Options
  1. 1No filtering, since the server returns records and the client filters
  2. 2Hardcoded filters, where only a fixed set of status values work
  3. 3Only POST body, sending filter criteria as JSON instead of query params
  4. 4?filter[status]=active&sort=-created_at for flexible queries

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