Did you register the middleware correctly? Did you change anything from the code they provided?
Just need some more information to help you out here
I followed this tutorial but I an still getting CORS issues. Here is a link to the tutorial
https://www.codementor.io/chiemelachinedum/steps-to-enable-cors-on-a-lumen-api-backend-e5a0s1ecx
I am calling the following route via AJAX
Here is the Route
$router->post('/api/customer', 'customer@update');
Please or to participate in this conversation.