0

我有公共职能reciveNotification() ,它被允许如下

$this->Auth->allow([“reciveNotification”]);

当我执行 GET 请求时,它运行良好,但通过 POST 请求,我面临 403 Forbidden 我做错了什么?

GET:
HTTP/1.1 200 OK
Date: Wed, 24 Apr 2019 11:06:43 GMT
Server: Apache/2.4.29 (Ubuntu)
Content-Length: 0
Content-Type: text/html; charset=UTF-8

POST:
HTTP/1.1 403 Forbidden
Date: Wed, 24 Apr 2019 11:05:52 GMT
Server: Apache/2.4.29 (Ubuntu)
Content-Length: 836
Content-Type: text/html; charset=UTF-8
4

0 回答 0