new API feature: pictshare URL to info about the image

This commit is contained in:
Christian Haschek
2015-11-05 18:57:04 +01:00
parent 414b09dcba
commit 11afcd780b
2 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ else if($_REQUEST['base64'])
$format = $_REQUEST['format'];
echo json_encode($pm->uploadImageFromBase64($data,$format));
}
else if($_REQUEST['getsize'])
echo json_encode($pm->getSizeOfURL($_REQUEST['getsize']));
else if($_REQUEST['geturlinfo'])
echo json_encode($pm->getURLInfo($_REQUEST['geturlinfo']));
else
echo json_encode(array('status'=>'ERR'));