简体   繁体   English

如何从Kaizala API获取accessToken

[英]How to get accessToken from Kaizala API

I'm trying to generate an access token from Microsoft Kaizala API following the information provided by Microsoft docs 我正在尝试根据Microsoft文档提供的信息从Microsoft Kaizala API生成访问令牌

I already created a connector and I have the correct credentials: 我已经创建了连接器,并且具有正确的凭据:

-applicationId
-applicationSecret
-refreshToken

And make a GET request from the url: https://api.kaiza.la/v1/accessToken via Postman with the correct headers provided by my connector. 并通过邮递员使用我的连接器提供的正确标头从URL: https ://api.kaiza.la/v1/accessToken发出GET请求。

But I always get a 200 response but with a body like this: 但是我总是得到200的回应,但身体像这样:

This page does not exist. 本页面不存在。 This page never existed. 此页面不存在。 © 2016 Microsoft Corporation. ©2016 Microsoft Corporation。 All rights reserved. 版权所有。

Instead of getting the JSON response, I really appreciate your help. 非常感谢您的帮助,而不是得到JSON响应。

Thank You! 谢谢!

I had the same issue turns out after some debugging I replaced the access token url https://api.kaiza.la/v1/accessToken by https://kms2.kaiza.la/v1/accessToken and I got my access token. 我有同样的问题,原来经过一番调试我更换了访问令牌网址https://api.kaiza.la/v1/accessToken通过https://kms2.kaiza.la/v1/accessToken ,我得到了我的访问令牌。

Hope this will help you 希望这个能对您有所帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM