Answers for "CORS error just in chrome"

1

chrome cors error localhost

//in my case i just added the 

  'content-type': 'text/plain',
  
  
in side my header it is working now

example : ========================
     {
        method: 'POST',
        headers: { 
            'content-type': 'text/plain',
           
        }
    }
Posted by: Guest on September-24-2021

Browse Popular Code Answers by Language