我上周开始学习机器人框架,我决定从默认的机器人项目开始,它会返回你的输入和它的字符数。但不幸的是,我无法在机器人模拟器中测试机器人应用程序。它不能只发送我的输入。每当我转发输入时,它都会显示“无法发送”。我的端点url,也就是http://localhost:3979/api/messages/,正确地写在那里。会出什么问题呢?我只是bot框架和bot构建的初学者。
发布于 2017-03-11 07:39:52
由于我不知道您正在尝试执行的确切代码,因此我建议再次检查几个要点。
检查点:
发布于 2019-01-31 22:38:40
检查您的visual studio .bot文件。应该是这样的......
{
"name": "EmulatorBot",
"description": "",
"services": [
{
"type": "endpoint",[enter image description here][1]
"endpoint": "http://localhost:3978/api/messages",
"name": "EmulatorBot20181123022900",
"id": "25"
}
],
"padlock": "",
"version": "2.0",
"path": "C:\\Users\\suraj.tiwari\\Desktop\\Bot NK\\EmulatorBot\\EmulatorBot.bot",
"overrides": null
}为机器人添加终结点
Endpoint url : http://localhost:3978/api/messages
Name : EmulatorBot20181123022900https://stackoverflow.com/questions/42611413
复制相似问题