v0.1.1 - Updated Delete, Create

Added editPost (Not yet made)
This commit is contained in:
Anders
2021-06-08 11:23:05 +02:00
parent e2aa419efa
commit 2c89fb79f6
6 changed files with 36 additions and 13 deletions
+1 -1
View File
@@ -16,6 +16,6 @@ if(isset($_POST['title'])){
if(!$post->save()){
return http_response_code(400);
}else{
return http_response_code(200);
echo $post->id;
}
}