Pregunta de entrevista de Pixelogic Media

How to call api from JavaScript file ?