v0.1.1 - Updated Delete, Create
Added editPost (Not yet made)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user