[Vuejs]-Can't send GET Request with Vue

0👍

This is cors error, your browser is blocking the response due to security concerns.

Cross-Origin Resource Sharing (CORS) is a standard that allows a
server to relax the same-origin policy. This is used to explicitly
allow some cross-origin requests while rejecting others.

What can be done:

  • If you are the backend dev, allow your site URL (from where you are making the request)(FE) in the response header.
  • If you don’t have access to the backend, you can disable CORS, using
    browser extemnsion for your device.

Read more about CORS

Leave a comment