issue of Generate a Direct Line token

别来无恙 提交于 2020-01-25 08:07:37

问题


When I try to get the direct line Token according to the Microsoft Document.

The Error shown in Postman.

{
  "error": {
    "code": "BadArgument",
    "message": "Missing token or secret"
  }
}

Here with my query

https://directline.botframework.com/v3/directline/tokens/generate?Authorization=Bearer EWXpigVssN0.4b2ePfz9L_E3mMM37be6yBGXdgI2GUul7Pm8aRNcUeg&content-Type=application/json


回答1:


You are sending a GET request but what you need to do is send a POST request with the Authorization set to a Bearer Token

Using POSTMAN you can do this like below:



来源:https://stackoverflow.com/questions/59349561/issue-of-generate-a-direct-line-token

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!