Read over this: https://book.cakephp.org/3/en/controllers/middleware.html
Also https://github.com/ozee31/cakephp-cors
Also a past topic on cors: Cakephp 4 : CORS [workaround/solved]
Read over this: https://book.cakephp.org/3/en/controllers/middleware.html
Also https://github.com/ozee31/cakephp-cors
Also a past topic on cors: Cakephp 4 : CORS [workaround/solved]