商品类目查询 Web UI
解析结果

    
原始响应

    
就绪
已保存组合
HTTP 接口

其他工具可通过 HTTP 调用本工具的查询功能。支持 JSON 和表单两种 POST 方式。

GET/api/query?productId=xxx&profileId=1
查询商品类目(GET 方式)
curl "http://127.0.0.1:9877/api/query?productId=xxx&profileId=1"
POST/api/query
查询商品类目(JSON)
curl -X POST "http://127.0.0.1:9877/api/query" \
  -H "Content-Type: application/json" \
  -d '{"productId":"xxx","profileId":1}'
POST/api/query
查询商品类目(表单)
curl -X POST "http://127.0.0.1:9877/api/query" \
  -d "productId=xxx&profileId=1"
GET/api/profiles
获取所有配置组合
POST/api/profiles
新增组合
curl -X POST "http://127.0.0.1:9877/api/profiles" \
  -H "Content-Type: application/json" \
  -d '{"name":"我的店铺","channelId":"xxx","cookie":"..."}'
PUT/api/profiles/<id>
更新组合
curl -X PUT "http://127.0.0.1:9877/api/profiles/1" \
  -H "Content-Type: application/json" \
  -d '{"channelId":"xxx","cookie":"..."}'
DELETE/api/profiles/<id>
删除组合
curl -X DELETE "http://127.0.0.1:9877/api/profiles/1"