短链接生成
将长网址转换为短链接
GET
https://www.pa95.com/API/short_url.php
请求方式
GET
返回格式
application/json
调用方式
免费公开
调用次数
22 次
请求示例
https://www.pa95.comGET /API/short_url.php?url=https://www.example.com/very/long/path
请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| url | string | 必填 | 要缩短的完整URL |
返回示例
{
"code": 200,
"data": {
"original": "https:\/\/...",
"short": "https:\/\/tinyurl.com\/..."
}
}
在线调试
相关接口