我使用的是Laravel 6和php 7以及ReactJS。我正在学习Build a Basic CRUD App with Laravel and React教程,学习如何制作CRUD应用程序。在本教程中,它说我需要启用CORS,以便可以从前端应用程序访问API。\Barryvdh\Cors\HandleCors::class, ...\Barryvdh\Cors\HandleCors::class
上下文
当我试图从不在白名单中的IP地址调用API时,我会得到这样的API响应- "Message": "User: anonymous is not authorizedto perform: execute-api:Invoke on resource: arn:aws:execute-api:ap-sou