---
title: "Discussion on \"CORS Explained\" | Hashnode"
description: "Discussion on \"CORS Explained\". If you are a developer, you might have seen the following error many times especially when dealing with APIs.\n\nFor security reasons, browser blocks the cross-origin HTTP requests. It allows requests that are  originated from the same origin.\n\nBrowser..."
url: "https://hashnode.com/posts/cors-explained/5f20552fba06442180226eda"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [CORS Explained](https://spanugan.hashnode.dev/cors-explained?utm_source=hashnode&utm_medium=feed)

If you are a developer, you might have seen the following error many times especially when dealing with APIs. For security reasons, browser blocks the cross-origin HTTP requests. It allows requests that are originated from the same origin. Browser...

Jul 28, 2020 · 2 min read · spanugan.hashnode.dev  
Read the article

-   [#cors](https://hashnode.com/tag/cors)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#web-design](https://hashnode.com/tag/web-design)

## Written by

[Srinivas](https://hashnode.com/@spanugan)

@spanugan · Hyderabad, India

  
[View profile](https://hashnode.com/@spanugan)

Full-Stack Developer | Open Source Enthusiast

I am a Web &amp; Mobile App Developer located in Hyderabad, India, having 14 years of industry experience. I love creating Responsive Websites, Mobile Apps and playing cricket.

## Responses 2

Markdown supported · ⌘↵ to post

[Vijay Kulkarni](https://hashnode.com/@Vijay0206)

[May 22, 2021](https://hashnode.com/posts/cors-explained/5f20552fba06442180226eda/comment/60a8b5b85379f65d10b5ef18)

Thanks a lot for this beautiful example, so by going with your example if google.com is not whitelisted in the play.google.com using cors then any request from google.com to play.google.com will be failed and the server that is play.google.com don't send the data.

Is my understanding correct? if wrong please correct me

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

[Aug 1, 2020](https://hashnode.com/posts/cors-explained/5f20552fba06442180226eda/comment/5f2573d8669da9610ee17966)

This was very helpful. Thanks for sharing.

[Srinivas](https://hashnode.com/@spanugan)

[Aug 2, 2020](https://hashnode.com/posts/cors-explained/5f20552fba06442180226eda/comment/5f2573d8669da9610ee17966#reply-5f26dc14bcc1a77423c3ff50)

Thanks for the comment. Glad it is helpful.
