api_key, api_secret。其中 api_secret 用于对请求进行签名以供 BKJ 验证请求的合法性。| Header | 是否必需 | 说明 | 示例 |
|---|---|---|---|
X-Api-Key | 是 | API Key | FCWbmJJi5ixxxxx_knMIZ36kL5ZPtBvxxxxxxxxxxxx |
X-Signature | 是 | 请求签名(HMAC-SHA256 的64位十六进制字符串) | a1b2c3d4e5f6789... |
X-Timestamp | 是 | 请求时间戳(Unix秒级时间戳) | 1704067200 |
X-Nonce | 是 | 请求唯一标识,用于防重放 | 550e8400e29b41d4a716446655440000 |
/openapi/v1/usersparam1=value1¶m2=value21704067200-c=3&a=1&b=2a=1&b=2&c=3{
"name": "John",
"age": 25,
"email": null,
"hobbies": ["reading", "gaming"],
"address": {
"zip": 10001,
"city": "New York"
}
}{"address":{"city":"New York","zip":10001},"age":25,"email":null,"hobbies":["reading","gaming"],"name":"John"}bodyHash = SHA256(normalizedBody)a3b2c1d4e5f6...""