Creates a new link.
Parameters
Parameter |
Description |
Optional |
Default |
link |
String. The link to which you want to redirect. |
No |
None |
Example
POST |
https://questionable.link/shorten |
Request
link=https://getsharex.com
Response
{
"url": "https://questionable.link/oCRcAaD",
"del_url": "https://sxcu.net/d/OZgnwNJ/77ea5b5c-3334-40d8-a589-701bc363dec2"
}
Response JSON Params
Parameter |
Type |
Description |
url |
String |
The URL to the new link. |
del_url |
String |
The deletion URL of the shortened link. |
Response error codes and messages
Status code |
Message |
Description |
400 |
(none) |
The link POST param is missing. |