Receive message request via Whatsapp with webhook

Asked

Viewed 19 times

-2

I need to create a webhook to respond to a request coming from Whatsapp.

I created the webhook route on the server pointing to my computer and am using ngrok to test it.

inserir a descrição da imagem aqui

I can make a request using Insomnia.

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

I have some questions about how to receive Whatsapp data.

Which verbose should I use to get Whatsapp data?

How can I read this received data?

1 answer

0

I would like to understand why they voted against my doubt, but "funny" is that unfortunately no one was able to answer.. But come on, it might be interesting for some rookie.

And I hope whoever needs to improve my reputation.

I pointed the webhook to the post I’m using to create the menu in the controller inserir a descrição da imagem aqui

Within the controller you process the data received according to your solution. I sent a console.log for testing

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.