-
Notifications
You must be signed in to change notification settings - Fork 7
6. Third Party APP ShortUrl
nothatDinger edited this page Jan 22, 2021
·
2 revisions
Generate Short Url
URL:https://open.hustunique.com/genurl
Method:Get
Auth required : AccessKey
content example:
{
"number":3,
"urllist":[
"www.google.com",
"www.github.com",
"https://www.bilibili.com/video/BV18E41177zQ?from=search&seid=472887671426257925"
]
}
Code:200 OK
Content example:
{
"urls":{
"https://www.bilibili.com/video/BV18E41177zQfrom=search\\u0026seid=472887671426257925":"http:/127.0.0.1:7073/v/1",
"www.github.com":"http:/127.0.0.1:7073/v/l",
"www.google.com":"http:/127.0.0.1:7073/v/v"
}
}
URL:
for local test:http://127.0.0.1:7073/v/:shorturl
for official use:https://uniqs.cc/v/:shorturl
Method:Get
example
https://uniqs.cc/v/ABC