This Url Shortener provides the basic functions like shortening and expanding links.
It works on the same data structure and provides the same API (see
*) below) as urlShort (by mavrev.org)
You can enable a preview: if you visit a short URL, then you are not automatically redirected to the target page
but you get to see the full link and you can go here manually (this preview is set using a browser cookie).
API
- To shorten *) a link:
http://mod4.cc/api.php?url=URL_TO_SHORTEN
- To expand *) a link:
http://mod4.cc/api.php?url=http://mod4.cc/SHORT_ID
- To expand a link and go to the web page:
http://mod4.cc/SHORT_ID
- To expand a link to text:
http://mod4.cc/SHORT_ID.txt
- To expand a link to xml:
http://mod4.cc/SHORT_ID.xml
- To expand a link to json:
http://mod4.cc/SHORT_ID.json
- To display a link as QR-Code (links to short URL):
http://mod4.cc/SHORT_ID.qr
new: SOAP
- SOAP-compatible API to shorten and expand links
- WSDL file:
http://mod4.cc/api/soap/mod4cc_urlshortener.wsdl