A CORS Is A CORS, Of Course Of Course

Understanding CORS (Cross-Origin Resource Sharing) And Its Role In Browser Security

This is often what I refer to as “the anatomy of a URL”
./config/initializers/cors.rb

Using the Rack Cors Ruby Gem: https://www.rubydoc.info/gems/rack-cors/0.4.0

CORS docs: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#preflighted_requests

Preflight docs: https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request

Docs for Simple Requests: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests

A Shot of Code’s youtube explanation

Fireship’s 100 second youtube explanation

Karen White’s blog about CORS

Deepak Kumar’s blog on CORS

Proxy Server Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Amanda Nikrant

Full stack software engineer with a background in quality control, and an eye for details and logic. Passionate about learning and inclusive environments.