response_status
、response_body
、response_headers
,分别对应小红书返回的响应码
,响应体
,响应头
,其中response_body
内容字段与原有的保持一致。{
"num":"20",
"cursor":""
}
curl --location --request POST '/api/xhs/likes' \
--header 'cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"num":"20",
"cursor":""
}'
{
"code": 0,
"msg": "string",
"path": "string",
"data": {
"cursor": 0,
"message_list": [
{
"comment_info": {
"id": "string",
"content": "string",
"illegal_info": {
"status": 0,
"desc": "string",
"illegal_status": "string"
},
"status": 0,
"liked": true,
"like_count": 0
},
"track_type": "string",
"time_flag": 0,
"id": "string",
"title": "string",
"time": 0,
"user_info": {
"userid": "string",
"nickname": "string",
"image": "string",
"red_official_verify_type": 0
},
"type": "string",
"score": 0,
"item_info": {
"user_info": {
"nickname": "string",
"image": "string",
"red_official_verify_type": 0,
"userid": "string"
},
"status": 0,
"type": "string",
"id": "string",
"image": "string",
"image_info": {
"url": "string",
"width": 0,
"height": 0
},
"illegal_info": {
"desc": "string",
"illegal_status": "string",
"status": 0
},
"link": "string"
},
"liked": true
}
],
"has_more": true
}
}