1.删除某张图片
接口URL:
http://web.8tupian.com/api/a.php
示例:
http://web.8tupian.com/api/a.php?act=del&picurl=http://test.8tupian.com/1a9b1.pg0&pid={商户pid}&key={商户key}
请求方式:GET 或 POST
请求参数:
参数名 | 类型 | 说明 | 示例值 |
---|---|---|---|
act | string | 固定值 del | del |
picurl | string | 图片的网络地址 | http://test.8tupian.com/1a9b1.pg0 |
pid | int | 商户pid(可登录后台,在“api接口”的页面查看到) | 10272 |
key | string | 商户key(可登录后台,在“api接口”的页面查看到) | 98800e620e693c95d4f08b7992971c3d |
……
返回值(Json字符串)
JSON内容:
参数名 | 类型 | 说明 | 示例值 |
---|---|---|---|
code | int | 0为成功,其它值为失败 | 0 |
msg | string | 返回信息 | "删除成功" |