5

What the fuccckkkkk are webhooksss how do i write i
So im a intern at this company they told me to develop a chatbot using this dialogue flow and twilio and so i need to write an external webhook in asp to connect it with dialogue to perform some actions on databaseee
I don't why i cant figure this sshit out in super fucking dumb ugh

Comments
  • 6
    Think of it as a callback. Instead of you calling a particular service, a webhook is when that service can call *you* (usually to provide a notification.)

    The alternative is polling, but webhooks are a faster and more efficient way of achieving the same thing.
  • 3
    I stopped reading after seeing 'asp'.
    Good luck man.
  • 0
    @AlmondSauce i understand the webhook concept after reading it but im having difficulty writing the code or basically implementing it like getting the intent reference and then showing the result through webhook
  • 1
  • 2
    @oddmemtius it's just an API endpoint, just look for ASP API

    You will find some actual help with that. Use software like postman or insomnia to test your own API call.
    If that works try mocking the data send by the provider.
  • 1
    @oddmemtius - pretty much what the others said.

    It's an API endpoint that you need to expose and for Twilio to submit a request to.

    It'll contain an XML payload by default (if I remember correctly).
  • 3
    It has been

    0️⃣0️⃣0️⃣

    Days since someone tried to use hashtags in the tags section
  • 2
    Hey, are u the new intern whom we gave to develop the chatbot using the dialouge flow and twilio. We told u to not ask on forums and read documents and stackoverflow.

    We will meet in office then.
  • 0
    @shiv7071007 oh @shiv7071007 you got me 😂
  • 1
    @oddmemtius @shiv7071007 wait is this serious?
  • 1
    @Codex404 nah I was just pulling his Legs. I don't even know what twilio is.
  • 0
  • 1
    @shiv7071007 it's a message Provider I think they support texts, WhatsApp, but also voice calls.
Add Comment