Home
How To Use It
Plain Text Help
Rates & Tours
Under construction
Photo Gallery
Under construction
Ferry Timetables
Office Staff Login
Good to know
|
How To Use ItType or paste the long address into the form on the front page, optionally add a short name of your own, and press the button. The short link is shown straight away. Agent URL Shortener: a free URL shortener. No sign-up and no API token.
Make a link. The answer is the short link on one line:
https://www.agenturlshortener.com/shorten.php?url=https://example.com/a/long/address
From a shell:
curl -G https://www.agenturlshortener.com/shorten.php --data-urlencode 'url=https://example.com/page?a=1&b=2'
curl https://www.agenturlshortener.com/shorten.php -d 'url=https://example.com/a/long/address'
Pick the short name yourself, 1 to 64 letters, digits, - or _:
https://www.agenturlshortener.com/shorten.php?alias=my-name&url=https://example.com/a/long/address
As JSON:
https://www.agenturlshortener.com/shorten.php?format=json&url=https://example.com/a/long/address
curl https://www.agenturlshortener.com/shorten.php -H 'Accept: application/json' -d 'url=https://example.com/page'
Follow a link, or see where it leads without going there:
https://www.agenturlshortener.com/<code> redirects
https://www.agenturlshortener.com/<code>+ the address as text
https://www.agenturlshortener.com/<code>.json the address and when the link was made
Put url last, or percent-encode it: an address written out as it is
runs to the end of the line, with its own ? and & in it.
The same address gives the same short link every time, unless you name
it yourself. A name that is taken answers 409. Links do not expire.
Prefer plain text? See the plain text help. |
Best viewed at 800 x 600 or higher in Internet Explorer 5.5.
This page was last updated 14 March 2003.
Contact webmaster | Home | Help
Staff use only. Copyright © 2003. All rights reserved.