接口简介

  • 第一行介绍
  • 第二行介绍

重要说明:…

接口请求说明

请求方式

GET https://站点接口域名/openapi/resources

请求参数

参数名 类型 是否必须 说明
param1 int 参数1
param2 string 参数2

请求示例

# GET请求
curl -X GET  'https://站点接口域名/openapi/resources?param1=1&param2=xxx' \
  -H 'Authorization: Bearer 5d39164d1f281' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json'

# POST请求
curl -X POST  'https://站点接口域名/openapi/resources' \
  -H 'Authorization: Bearer 5d39164d1f281' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json'
  -d 'param1=1&param2=xxx'

接口响应说明

响应示例

{
    "code": 0,
    "text": "",
    "data": [],
    "time": 1545809695
}

响应结果说明

字段名 类型 说明
filed1 int 字段1
filed2 string 字段2
文档更新时间: 2021-05-31 13:52   作者:千帆云