Home
How To Use It
Plain Text Help
Rates & Tours
Under construction
Photo Gallery
Under construction
Ferry Timetables
Office Staff Login
Good to know
|
Make a short linkPaste in the long address (brochure, itinerary, anything too long to read down the phone) and press the button. UsageFor scripts and the technically minded. Full instructions are also on the How To Use It page and the plain text version. 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.
|
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.