Pergunta de entrevista da empresa SpaceX

What is a webhook, and how do they function in JavaScript?