URL Shortener PEGI AHMAD

Format : http://google.com

API

Example PHP

$shortlink = file_get_contents('http://akjy.xyz/api.php?url=http://google.com/');

Example Javascript

$.getJSON('http://akjy.xyz/api.php?callback=?', {
  url: 'http://google.com/',
  format: 'json'
}, function(res) {
  if(res.status === true) {
    console.log(res.shorturl);
  }
});