tft每日頭條

 > 圖文

 > 如何獲取token必選字段

如何獲取token必選字段

圖文 更新时间:2024-08-21 11:36:16
放心簽SaaS API标準版接口如何獲取token?

如何獲取token必選字段(放心簽SaaSAPI标準版接口如何獲取token)1

獲取token

接口認證方式:Bearer Token 将獲取的access_token放到請求頭部的Authorization中,請注意空格隔開 示例: RequestEntity.get(URI.create("url")).header("Authorization",String.format("Bearer %s",token));

接口信息

描述

請求地址

請求方式

GET

請求參數

參數名稱

類型

是否必須

參數說明

client_id

string

appKey (注冊賬号後登陸開放平台首頁獲取)

client_secret

string

appSecret (注冊賬号後登陸開放平台首頁獲取)

返回參數

參數名稱

參數說明

access_token

token值(有效期為2h,過期後須重新獲取)

token_type

固定值:bearer

expires_in

token有效期,單位:s

,

更多精彩资讯请关注tft每日頭條,我们将持续为您更新最新资讯!

查看全部

相关圖文资讯推荐

热门圖文资讯推荐

网友关注

Copyright 2023-2024 - www.tftnews.com All Rights Reserved