Home ShareXSource Code
- Resolving links
Make a POST-request to /api with the parameter "url" set to your desired destination. Schort will generate an id for you and respond with the short link in plain text.
To resolve a link you just have to make a GET-request and add the "resolve" parameter. The value of this parameter doesn't matter and gets ignored. This makes schort print out a plain text string of the original URL.
- How can I inspect a shortened link?
- How can my script resolve a shortened link?
Append a plus sign ("+") to your short URL. You'll receive a clickable link to the remote destination.
Take a look at the API.