Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

delete and return response and nocontent laravel

public function destroy(Post $post)
{
    $post->delete();
    return response()->noContent();
}
Source by www.etharshrouf.com #
 
PREVIOUS NEXT
Tagged: #delete #return #response #nocontent #laravel
ADD COMMENT
Topic
Name
5+6 =