短网址还原
还原已缩短的网址
接口介绍
请求方式:
GET返回格式:
JSON
接口地址:
https://api.szfx.top/longurl/
请求示例:
https://api.szfx.top/longurl/?url=https://tinyurl.com/4m39uw48
请求参数
| 参数 | 参数值 | 必填 | 说明 |
|---|---|---|---|
| url | url | 是 | 所需查询的网址 |
| type | 1 | 否 | 直接输出网址(文本) |
返回参数
| 名称 | 类型 | 说明 |
|---|---|---|
| status | string | 返回状态码 |
| shorturl | url | 短网址 |
| orinalUrl | url | 原始原址 |
返回示例
{
"status": 200,
"shorturl": "https://tinyurl.com/4m39uw48",
"orinalUrl": "https://www.jishusongshu.com/"
}
代码示例
暂无示例