>  Developer

The ArunaURL API is very simple. It is basically a URL you access by a ordinary GET request to http://arunaurl.com/create_url.php with the parameters url (a URL encoded URL) and type (the reply type). The reply types supported now are:

js Javascript (A javascript function named com_arunaurl() which returns the ArunaURL ID as a string if called or "Database error" if an error occured)
php PHP (A PHP function named com_arunaurl() which returns the ArunaURL ID as a string if called or "Database error" if an error occured)
xml XML (An XML 1.0 document containing an url entry with two entities original (the original URI), arunaurl (the ArunaURL) or a url entry with the two entities original (the original URI),error (Always Database error)).
html HTTP redirect (An HTTP redirect to a web page which displays the ArunaURL)
All others Text (A text/plain reply containing the ArunaURL string

Examples: