1

I am building an Action. My back end is deployed on heroku an duses Java/Spring Boot. I am tying to print all request parameters but I can't see the requuest param set by API.AI

"result": {
    "source": "agent",
    "resolvedQuery": "Weather in Portland",
    "action": "yahooWeatherForecast",
    "actionIncomplete": false,
    "parameters": {
      "geo-city": "Portland"
    }

I am neither getting "result" not "geo-city" in request.getParameter call. How is API AI setting these values?

Sai
  • 2,089
  • 3
  • 19
  • 30
  • Can you provide us more informations : Did you set a webhook for your intent ? Is your controller being called ? – Eric Taix Dec 29 '16 at 10:55

1 Answers1

0

When you test your Action on API AI, parameters are passed in the POST request body.

Sai
  • 2,089
  • 3
  • 19
  • 30