berkantipek adlı üyeden alıntı: mesajı görüntüle
Anladigim kadariyla serverden birden fazla access control allow origin headeri donuyor. Veya birden fazla adres varsa headerda. Tarayici ogeyi denetle kisminda network sekmesine giderek api.siteniz.com adresine giden ve donen headerleri de paylasabilir misiniz?
Response Header:
HTTP/1.1 200 OK
Server: nginx/1.16.1
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=60
Vary: Accept-Encoding
X-Powered-By: PHP/7.3.0
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Authorization, Content-Type
Cache-Control: no-cache, private
Date: Sat, 07 Sep 2019 10:00:02 GMT
Access-Control-Allow-Origin: https://turkiyeyabanhayati.org
Access-Control-Allow-Methods: GET
Access-Control-Allow-Headers:
Content-Encoding: gzip

Request Header:
Host: api.turkiyeyabanhayati.org
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
Accept: */*
Accept-Language: en-US
Accept-Encoding: gzip, deflate, br
Access-Control-Request-Method: GET
Referer: https://turkiyeyabanhayati.org/
Origin: https://turkiyeyabanhayati.org
Connection: keep-alive
Cache-Control: max-age=0

İsteklerde biri bu diğeri de aynı içeriğe sahip.