Adding Validation. Responding with 400 for malforme/missing input.