i am use
github.com/barryvdh/laravel-cors
with default configuration
and i was success with GET request,
when i do POST request,
on console network tab, that POST status is 200,
BUT i got an error
XMLHttpRequest cannot load http://localhost:8000/api/data. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.