dFL8 URLs with Code!
The dFL8.me URL Shortening API is extremely simple. Just submit the URL to be shortened to dFL8.me using a standard HTTP GET request for the API URL:
http://dfl8.me/api/?url=[encoded URL here]
The dFL8.me API will return the shortened URL on success, and an error message beginning with "Error: " on failure. Please note, the API url is case sensitive.
JSON and JSONP Response Format
Everyone's favorite format, JSON, is now supported by the dFL8.me API. To use JSON, pass a format parameter with the value json in the API URL. To use JSONP, set the callback parameter like so:
http://dfl8.me/api/?callback=callbackFunc&url=[encoded URL here]
XML Response Format
The API also supports XML as a response format. To use XML, pass a format parameter with the value xml. If the shortened URL was created successfully, you will get a response like this:
<?xml version="1.0" encoding="UTF-8"?> <response> <result>true</result> <url>http://dFL8.me/520a</url> </response>
If your API call results in an error, you will receive a response in this format:
<?xml version="1.0" encoding="UTF-8"?> <response> <result>false</result> <message>Error: invalid or missing URL</message> </response>
- Update and download drivers now.
- iphone games