THE SMALLEST USEFULL API YOU WILL FIND
Curt.li provides a small and fast usefull api for you
The API to connect with CURT.LI is as easy as possible!
just send a GET REQUEST to...
http://curt.li/api/create/
And send the requiered param:
original
- the URL you want to link to (including http://)
And send the optional param:
wish
- the wish curt.li URL you want to get (without http://curt.li/)
EXAMPLE #1:
Create a URL without a wish:
Your original Domain is:
http://www.my-domainname-is-long.com/and_my_subfoldername_also/
YOUR REQUEST YOU HAVE TO DO:
http://curt.li/api/create/?original=http://www.my-
domainname-is-long.com/and_my_subfoldername_also/
EXAMPLE #2:
Create a URL with a wish:
Your original Domain is:
http://www.my-domainname-is-long.com/and_my_subfoldername_also/
Your wish URL is:
http://curt.li/longisout
YOUR REQUEST YOU HAVE TO DO:
http://curt.li/api/create/?wish=longisout&original=http://www.my-
domainname-is-long.com/and_my_subfoldername_also/
SMALL PHP FUNCTION:
Use this function when you work with PHP
Hits on Curt.LI Domains:
Today: 402
Yesterday: 663