主题
待办接入
环境地址
获取访问凭证
请参考应用注册及认证授权~获取accesstoken接口接口
注意
scope:固定"app"即可
access_token使用方式
使用访问凭证(access_token),需要在调用接口时将其填入到 HTTP 请求的请求头参数中,且该值需要增加 Bearer<空格> 前缀。
json
例如,cURL 请求配置示例如下:
curl --location --request GET 'https://tbportal-test.tbea.com' \
--header 'Authorization: Bearer 5888bcb7c421a695ca83c449caba5cxxxx' \
--header 'Content-Type: application/json; charset=utf-8'