Chuanrui二次元随机图片API

接口地址:

https://api.1314.cool/img/sort/api/api.php?return=json

请求方式:

GET/POST

请求参数

return
参数值为json或301

请求示例1:

https://api.1314.cool/img/sort/api/api.php?return=json

返回:

{"code":"200","imgurl":"https:\/\/tva3.sinaimg.cn\/large\/0072Vf1pgy1foxk6le0yfj31hc0u0e3y.jpg","width":"1920","height":"1080"}

请求示例2:

https://api.1314.cool/img/sort/api/api.php?return=301

返回:

301重定向一张图片