获取分享code
POST
/api/xhs/share_code请求参数
Header 参数
Cookie
string
可选
Body 参数application/json
object {0}
示例
{
"note_id": "66b497d4000000001e01a0a9"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
path
string
必需
data
object
必需
response_status
integer
必需
response_body
object
必需
response_headers
object
必需
示例
{
"code": 200,
"msg": "success",
"path": "/api/xhs/share_code",
"data": {
"response_status": 200,
"response_body": {
"data": "E2oLeKwbHYI5uIu"
},
"response_headers": {
"date": "Mon, 09 Sep 2024 13:12:25 GMT",
"content-type": "application/json; charset=utf-8",
"content-length": "27",
"alt-svc": "h3=\":443\"; ma=2592000, h3-29=\":443\"; ma=2592000, h3-27=\":443\"; ma=2592000, h3-Q050=\":443\"; ma=2592000, h3-Q046=\":443\"; ma=2592000, h3-Q043=\":443\"; ma=2592000, h3-Q039=\":443\"; ma=2592000, quic=\":443\"; ma=2592000; v=\"39,43,46\"",
"connection": "keep-alive",
"server": "nginx",
"access-control-allow-credentials": "true",
"access-control-allow-origin": "https://www.xiaohongshu.com",
"cat-msg-id": "karen-gateway-snsdefault-0a0ff36e.38506-479413-228152",
"request-id": "2277d1e9f40346bea47c32aabc20ccb4",
"x-kong-sign": "0",
"xhs-request-time": "0.118",
"xhs-real-ip": "116.132.66.22"
}
}
}
最后修改时间: 1 个月前