- Katılım
- 12 Mayıs 2020
- Mesajlar
- 1.164
- Çözümler
- 6
Kod:
Access to XMLHttpRequest at 'https://localhost:7193/api/Company' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Localhost'uma API bağlantısı yapıyorum API'yi görüyor fakat bağlanırken yukarıda gördüğünüz hatayı veriyor. Jsonplaceholder kullanırken ise bu sorun kesinlikle yaşanmıyor. İyi Sosyaller.