Strapi Error with Post request

Do you know how to overcome with the CORS problem. I have already tried setting; mode to cors and setting headers like
'Access-Control-Allow-Headers': '[headers] ' but nothing is working…