Answers for "getting cors error even after adding enabling cors to localhost s3"

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