v-api

Guide to test localhost api

    For Express App
  1. Install CORS npm package
    npm i cors
  2. Paste following code after line [app = express() ]
    const cors = require("cors");
    app.use(cors());

Cross-Origin Resource Sharing (CORS) is a browser security feature that allows client web applications to interact with resources in a different domain. CORS is an HTTP-header-based protocol that allows a server to specify which origins can access its resources.

Report Issue