score:0

api.post('/sessions', (response) => {
    // handle response
})

score:1

npm i cors


const cors = require ('cors')
app.use (cors ()) (put at the beginning)

Related Query

More Query from same tag