云服务器内容精选
-
消息样例 场景描述:获取机机接口access-token 请求方法:POST URL:https:// 域名 /baas/auth/v1.0/oauth2/token 请求头: { "Content-Type":"application/x-www-form-urlencoded" } 请求体: grant_type=client_credentials&client_id=******78ae8513******&client_secret=*******fb64********* 响应: { "access_token": "AC CES S_TOKEN", "expires_in": 7200, "token_type": "Bearer" } 根据请求响应中获取的access-token访问机机接口。