How to fix the CORS Error 'Method DELETE is not allowed by Access-Control-Allow-Methods'     3    