Validate Request Input

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • easy

Your sign-up endpoint trusts whatever JSON the client sends, and the database has filled with empty names and impossible ages. Explain how and where you'd validate request input on the server.

Talk this problem through with an AI coach

Sign in with Google to start a free voice session — no credit card needed.

Start free →