我正在构建一个Action。我的后端部署在heroku上,使用Java/Spring Boot。我想打印所有的请求参数,但是我看不到API.AI设置的requuest参数
"result": {
"source": "agent",
"resolvedQuery": "Weather in Portland",
"action": "yahooWeatherForecast",
"actionIncomplete": false,
"parameters": {
"geo-city": "Portland"
}我在request.getParameter调用中既没有得到"result“,也没有得到"geo-city”。API AI是如何设置这些值的?
发布于 2016-12-31 02:50:12
当您在API AI上测试Action时,参数将在POST请求主体中传递。
https://stackoverflow.com/questions/41107814
复制相似问题