Pregunta de entrevista de Confidential

How would you mock API responses?