#### Origin Blocked by CORS Policy Error During Sending Request with Implemented React.js with Laravel Mix

I’m using Laravel Mix to implement React.js in Laravel. Now in one of my components, I have a form for registration, and I’m trying to send a request to my controller.
Here is the part of my code in component for handling the form submition :

 handleSubmit(e: { preventDefault: () => void; }) {
e.preventDefault();
axios({
method: 'post',