no 'access-control-allow-origin' axios code example
Example 1: axios delete is throwing cors error
headers: {"Access-Control-Allow-Origin": "*"}
Example 2: axios Cross origin http://localhost forbidden
// add the following to avoid axios cross origin issues when in test
axios.defaults.adapter = require('axios/lib/adapters/http')