Forked from
Sibidharan / Photogram Project
8 commits behind the upstream repository.
-
Sibidharan authoredSibidharan authored
delete.php 259 B
<?php
// https://domain/api/posts/delete
${basename(__FILE__, '.php')} = function () {
$result = [
"success" => false,
"message" => "Invalid request",
"id" => $_POST['id']
];
$this->response($this->json($result), 200);
};