Skip to content

Commit 0b6c845

Browse files
committed
add 403 error CSRF check notice to docs
1 parent d11b3f1 commit 0b6c845

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

v6/routes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ All that is left is to create the defined methods in the `MemberController` to h
9696

9797
There are five route types: `get`, `post`, `put`, `delete`, `any`.
9898

99+
! **IMPORTANT**: All none-GET requests are passed through the [CSRF check middleware](/docs/v6/csrf/) and will result in a 403 error when the nonce check fails. You can bypass the nonce check by configuring the `App\Http\Middleware\VerifyNonce` class.
100+
99101
### Get
100102

101103
The `get()` method will register a route for a GET request at a given URL path.

0 commit comments

Comments
 (0)