Short links can be generated in a programmable way by calling the API interface
Self-deployed CloudFlare Worker address, for example: https://url.dem0.workers.dev or a self-bound domain name
Example:
{
"cmd": "add",
"url": "https://example.com",
"key": "ilikeu",
"password": "bodongshouqulveweifengci"
}
cmd: add | del | qry
url: The long link
key: The short link
password: Authentication
{
"status": 200,
"error": "",
"key": "HcAx62",
"url": ""
}
"status": 200 | 500
"error": error details
"key": The short link
"url": The long link
"status": 200 means success, other code means failed.