回答編集履歴
1
補足
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
なお、外部向けのAPIであれば、そもそもCSRF対策自体を無効にするでもいいのかもしれません。
|
6
6
|
|
7
|
-
- CsrfProtectionMiddleware
|
7
|
+
- アプリケーション全体でCsrfProtectionMiddlewareを無効するなら、Application.phpの[CsrfProtectionMiddleware](https://github.com/cakephp/app/blob/master/src/Application.php#L83-L85)に関する記述を消せば可能です。
|
8
8
|
|
9
9
|
|
10
10
|
|