how to hit the api route

Posted 4 months ago by trogne

In routes, there's a "api.php" file.

How do I hit the callback ?

Route::middleware('auth:api')->get('/user', function (Request $request) {
    return $request->user();

How can I see the "aaaa" ?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.