Pergunta de entrevista da empresa Tesla

How would you call an API in React