Pregunta de entrevista de Eleks Software

How would you secure REST API endpoint?