
Shortening a URL with the bb-h.me API is very simple, all you need to do is send a get request to the API passing through the URL you wish to shorten.
To shorten http://www.neowin.net/news/windows-7-piracy-check-update-goes-live request:
http://bb-h.me/api.php?u=http://www.neowin.net/news/windows-7-piracy-check-update-goes-live
The API will return the shortened URL http://bb-h.me/jZ2qi
To retrieve the original URL from the API, all you need to do is send a get request to the API passing through the shortened URL (or the last 5 characters).
To expand http://bb-h.me/jZ2qi request:
http://bb-h.me/api.php?r=http://bb-h.me/jZ2qi
or http://bb-h.me/api.php?r=jZ2qi
The API will return the original URL http://www.neowin.net/news/windows-7-piracy-check-update-goes-live
BBH-Plus.net | Shorten | Lookup | API | Terms of Service
Powered by cr0bar Solutions