trogne
688
10
Lumen

solution to axios.post cors problem

Posted 6 months ago by trogne

What is a WORKING solution to the axios.post cors problem ?

I have cors setup in Lumen, with a cors middleware.

In my frontend, when I do "axios.post", I get "Not Allowed" for the preflight OPTIONS request.

I've tried Barryvdh\Cors\HandleCors , still not working.

Where's a working solution for this issue ?

Please sign in or create an account to participate in this conversation.