Pregunta de entrevista de Abacum

How would you validate user input on the API ?