This is why you get CORS errors sometimes

This is why you get CORS errors sometimes

Web Dev Cody

1 год назад

14,316 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

vasif mammadov
vasif mammadov - 20.04.2023 06:15

if you put "gg" inside console.log it means there is the possibility that you are a gamer.

Ответить
Son Ayo
Son Ayo - 29.01.2023 18:19

This was very helpfu

Ответить
Phillip Lippi
Phillip Lippi - 20.11.2022 01:39

Recently I faced a problem involving a CORS error in the front end. What I've done to solve it was create an API in the nodejs nextjs environment, mask the endpoint and then consume it from the front-end. it worked :))

Ответить
LifePortal
LifePortal - 19.11.2022 22:16

Please don’t stop producing these videos and the short videos
I enjoy every single one of them and i always learn something new with each video
Thank you for sharing your knowledge with us

Ответить
Juan E. Chemello
Juan E. Chemello - 19.11.2022 15:20

Great work, I got a bit confused/surprised about getting CORS error but POST to the API, so even with that someone can spam your database or do other malicious thing?

Ответить
DragonBurger
DragonBurger - 19.11.2022 08:06

Perfectly explained. Thank you!!

Ответить
James Ide
James Ide - 18.11.2022 23:17

I've had dreams about cors errors and not being able to solve them.. this video hopefully quells such nightmares

Ответить
Dck Nature 🇺🇦
Dck Nature 🇺🇦 - 18.11.2022 22:06

I think it's a good introduction to online security, Web Dev Junkie 👌.
Thanks for the video 🍉😉👍!

Ответить
Gabriel Leite
Gabriel Leite - 18.11.2022 21:05

Hey man, great video, what is the name of the extension that replaces single quotes to double quotes 😂??

Ответить
fsociety
fsociety - 18.11.2022 20:22

Extensions like Ghostery also are known to throw these errors

Ответить
mykalimba
mykalimba - 18.11.2022 19:42

I am a career game developer, and more recently have gotten heavy into web development. I've never really understood what CORS errors are (case in point: until this video, I understood it to be something the SERVER was enforcing/allowing). A lot of other tutorial/instructional videos just gloss it over with a brief mention like "...if you get a CORS error, just fix it by doing do blah blah blah...". This is the first actual explanation I've seen of what/why it exists and how the process works. I think there's a lot more for me to understand, but I will hit the MDN for more details. Thank you for this video. This is good stuff.

Ответить
Muffin Muncher
Muffin Muncher - 18.11.2022 18:26

would you go over proxies in vite.config and package.json?

Ответить
Luke Sizmur
Luke Sizmur - 18.11.2022 18:20

I got a CORS error for a whole week - turns out it was my browser which was causing it. (Was using the Arc browser). Opened chrome and the CORS error went away 😅

Ответить
Muphet
Muphet - 18.11.2022 17:46

i hate cors more than it's useful to me

Ответить
Tina Seibert
Tina Seibert - 18.11.2022 17:37

Good job babe!!!

Ответить