Pregunta de entrevista de Cloudbeds

How would you test a simple API endpoint?