Hi there,
I am looking to point the app api to my backend which is using laravel sanctum.
From the VueJS app, when i update the app url, i get a CORS error and request fails to even hit the backend.
Is there some additional proxy settings needed for this to work on the vueJS App?
It does seem to work for the preview endpoint. But for none other. Is that normal?
Hi,
You should be able to send HTTP requests to any of the APIs.
Please make sure that your API is available, you can try to test your API with Postman.
Hi,
There might be multiple reasons for this error.
You can read about the CORS error reasons on the page below:
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors