Skip to content

Instantly share code, notes, and snippets.

View ShilpiMaurya's full-sized avatar

ShilpiMaurya

View GitHub Profile

CORS (Cross-Origin Resource Sharing)

  • CORS is a mechanism which uses additional http headers to tell the browser whether a specefic web app can share resource with another web app (only if they have different origin)

  • In same origin can share resources very easily

  • Back then, when CORS was not standardize browser never allow applications to share resources between different origins.

Some examples: