Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

codegreper

Change laravel authenticate response to json format
Add below code to Authenticate.php
abort(response()->json(['message' => 'Unauthorized'], 401));
 
PREVIOUS NEXT
Tagged: #codegreper
ADD COMMENT
Topic
Name
2+4 =