This is why you get CORS errors sometimes

Channel:
Subscribers:
254,000
Published on ● Video Link: https://www.youtube.com/watch?v=EdJ6RJ3uGbo



Duration: 13:11
11,126 views
377


Just trying to explain same origin policy and cors.

good links:
- https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
- https://nodeployfriday.com/posts/cors-cyber-attacks/
- https://stackoverflow.com/questions/29954037/why-is-an-options-request-sent-and-can-i-disable-it
- https://i.stack.imgur.com/6jsKY.png

💬 Discord https://discord.gg/4kGbBaa
🔔 Newsletter http://eepurl.com/hnderP
📁. GitHub https://github.com/codyseibert

My VSCode Extensions:
- theme: material community high contrast
- fonts: Menlo, Monaco, 'Courier New', monospace
- errors: Error Lens
- extra git help: Git Lens
- tailwind css intellisense
- indent rainbow
- material icon theme
- prettier & eslint
- ES7+ React Snippets




Other Videos By Web Dev Cody


2022-12-27Coding an Omegle clone MERN prototype (with Next.js, Mongo, and Agora)
2022-12-24Is ChatGPT actually useful for coding?
2022-12-23Here is another great React practice problem (Tower of Hanoi)
2022-12-22A practical react example using maps for permission checkboxes (good interview practice problem)
2022-12-02How would I design a URL shortener application (interview question prep)
2022-12-01They had 24 hour to submit this assignment (junior full stack interview)
2022-11-24Trying to answer interview questions a subscriber was asked for junior full stack position
2022-11-23Building an online multiplayer snowball throwing game (vanilla js, node, socket.io)
2022-11-21A subscriber was asked these junior interview questions
2022-11-20Trying Next.js 13 and Strapi CMS (collab with Coding After 30)
2022-11-18This is why you get CORS errors sometimes
2022-11-17What to expect during a web dev interview (sharing my experiences)
2022-11-16Solving a practical intermediate react interview challenge
2022-11-15Here is a more challenging react interview exercise
2022-11-14How to build & deploy a MERN stack web application (typescript, mongo, express, react, node)
2022-11-10I loved solving this junior react interview challenge
2022-11-09This is a good intermediate react interview challenge
2022-11-08When do you need React's useLayoutEffect hook?
2022-11-04What does my typical work week as a web dev like
2022-11-03Why you should clean up react effects using fetch
2022-11-02Why I avoid react's uncontrolled inputs



Tags:
web development
programming
coding
code
learn to code
tutorial
software engineering