Skip to content

Commit 387ba73

Browse files
change post to get
1 parent 5a87a80 commit 387ba73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
return addCORSHeaders(response())->json($data)->setStatusCode($statusCode); // this route is meant to be called with AJAX/Fetch, so we're returning JSON
186186
});
187187

188-
Route::post('logout', function ()
188+
Route::get('logout', function ()
189189
{
190190
$token = $_GET['token'];
191191

0 commit comments

Comments
 (0)