How to return value ( Webhook )

Asked

Viewed 87 times

1

I’m trying to use the api.ai

https://docs.api.ai/docs/webhook

From what I understand, I have to return a JSON in the format:

"fulfillment": {
     "speech": "Today in Boston: Fair, the temperature is 37 F",
     "source": "apiai-weather-webhook-sample",
     "displayText": "Today in Boston: Fair, the temperature is 37 F"
}

But how can I send this message through Webhook?

No answers

Browser other questions tagged

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