稳定、快速、免费的 API 接口服务
图片临时转为URL,不是永久存储
接口地址: https://api.52vmy.cn/api/map/free
返回格式: JSON
请求方式: GET/POST
请求示例: https://api.52vmy.cn/api/map/free?url=https://api.52vmy.cn/wx.png
接口定制: 点此加入用户群
默认QPS: 每2秒最多4次 携带Token可无视限制
请求参数说明:
| 名称 | 必填 | 类型 | 说明 |
|---|---|---|---|
| url | 是 | string | 图片URL |
| type | 否 | string | 返回格式默认JSON可选text |
返回参数说明:
| 名称 | 类型 | 说明 |
|---|
返回示例:
Warning: Illegal string offset 'data' in /www/wwwroot/api.52vmy.cn/view/api/map/free/index.php on line 91
{ "code": 203, "msg": "失败", "text": "未知错误,请联系管理员QQ 3037370935" }
PHP代码示例:
$url = $_GET["url"]; $type = $_GET["type"]; $url = "https://api.52vmy.cn/api/map/free?url=".$url."&type=".$type; echo file_get_contents($url);