B端盗版入库
POST
/api/pirate/b
最后修改时间:2025-02-05 02:37:56
请求参数
Cookie 参数
session
string
可选
Body 参数application/json
product_id
integer
产品ID
domain
string
盗版域名
ip
string
盗版IP
db_name
string
盗版数据库名
db_username
string
盗版数据库用户名
db_password
string
盗版数据库密码
示例
{
"product_id": 26,
"domain": "doqbq.ma",
"ip": "190.160.254.35",
"db_name": "wordpress",
"db_username": "wordpress",
"db_password": "11223344"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1:8080/api/pirate/b' \
--header 'Cookie: session=' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_id": 26,
"domain": "doqbq.ma",
"ip": "190.160.254.35",
"db_name": "wordpress",
"db_username": "wordpress",
"db_password": "11223344"
}'
返回响应
🟢200成功
application/json
Body
code
integer
状态码
msg
string
消息
示例
{
"code": 200,
"msg": "盗版举报成功"
}
修改于 2025-02-05 02:37:56