{{message}}
URL:
  • API
  • There is no dedicated API for schort. Just make a POST-request to / with the parameter "url" set to your desired destination. Schort will generate an id for your and gives back the short link in plain text.

  • Creation of new links
  • If you wish to create a custom URL with your script, you can also set the parameter "wishId". If the requested id is free, schort will print out the short link with your requested id. If not, schort will just generate one and print that one out.

  • Resolving links
  • 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 to print out a plain text string of the original URL.
  • Can i produce custom links?
  • Just open /<yourWishId>. If you get no redirect, you can enter your URL according to your custom id.
  • How can i inspect an shortened link?
  • Append a plus sign ("+") to your short URL. You'll receive a clickable link to the remote destination.
  • How can my script resolve a shortened link?
  • Take a look at the API.
github.com