问题
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