|
API: Use our fast and simple API if you want to add the URL shortener to your site or just to access it with your application. How? Submit your request via HTTP GET like this: Shortening:
http://chilp.it/api.php?url=http://www.example.com What next?
You will receive the answer in plain text and it'll look like this: In case you don't deliver anything at all we will respond with the "Well, no URL was entered. There's nothing to do!" error. If the URL is blocked we'll respond with "404 - Krch! Domain is blacklisted!". Blocked: http://chilp.it/api.php?url=http://chilp.it Preview:
http://p.chilp.it/api.php?847310 What next?
You will receive the answer in plain text and it'll look like this: Statistics:
http://s.chilp.it/api.php?847310 What next?
You will receive the answer in plain text and it'll look like this: If you don't receive anything at all the submitted parameter is not in the database. That's it. Have fun! |