R.IM Short URL API:
The r.im API has just two functions - shorten a URL or retrieve the original url from a short URL. Calls to the API are made via HTTP requests
1. Get Short URL
Make an HTTP GET request to http://r.im/api/index.cfm?long_url=[YOUR LONG URL HERE]
(e.g. http://r.im/api/index.cfm?long_url=http://www.google.com)
2. Get Long URL
Make an http request to http://r.im/api/index.cfm?short_url=[R.IM SHORT URL HERE]
(e.g. http://r.im/api/index.cfm?long_url=http://r.im/8)