What is Cross Origin Resource Sharing? Never Get CORS Errors Again

Поделиться
HTML-код
  • Опубликовано: 26 июл 2024
  • In this video, we'll learn what is Cross Origin Resource Sharing.
    ⚛️ Learn Full Stack Development on codedamn: cdm.sh/fullstack
    Timestamps
    0:00 Teaser
    0:16 Video Starts
    0:33 Giveaway Alert!
    0:53 What is SOP?
    2:55 How SOP Works?
    3:54 How CORS Works?
    6:53 Conclusion
    8:23 Outro
    👉 Free HTML5 + CSS3 Course: cdm.sh/htmlcsscourse
    👉 Free JavaScript Course: cdm.sh/jsbasicscourse
    👉 Free ReactJS Course: cdm.sh/react
    👉 Free NextS Course: cdm.sh/nextjsbasicscourse
    💰 Refer codedamn to friends and earn $$: cdm.sh/refer
    👉 Checkout codedamn on social:
    Instagram: cdm.sh/ig
    Twitter: cdm.sh/twt
    Facebook: cdm.sh/fb
    GitHub: cdm.sh/github
    If you found the video valuable, please leave a like and subscribe ❤️ It helps the channel grow and helps me pumping out more such content.
    👋 About Me:
    Hey! I'm Mehul Mohan, a CSE'21 graduate from BITS Pilani, Goa. I started coding early in life, at the age of 13 when I created my first blog on Blogger. I am listed in Google, Microsoft, Sony, eSet, etc. Hall of Fame for reporting vulnerabilities in their systems.
    🍎 I am Apple's WWDC'19 Scholar - visited San Francisco and attended WWDC.
    📙 I am an author of 2 books, on JavaScript and React - cdm.sh/mehulbooks
    🚀 Currently working on my own startup - codedamn.
    Connect with me:
    📸 Instagram: cdm.sh/mehulig
    📱 Twitter: cdm.sh/mehultwitter
    📝 LinkedIn: cdm.sh/mehullinkedin
    📂 GitHub: cdm.sh/mehulgithub
    🌎 Personal website: cdm.sh/mehulblog
    💻 Start learning to code for free: cdm.sh/codedamn
    🧑‍🤝‍🧑 Discord community: cdm.sh/discord
    👉 HTML5 + CSS3 Tutorials: cdm.sh/htmlcssytplaylist
    👉 Complete JavaScript Tutorial: cdm.sh/jstutorial
    👉 Complete React Crash Course: cdm.sh/reacttutorial
    👉 Next JS Tutorials: cdm.sh/nextjsytplaylist
    🏷 Video Tags:
    CORS Explained
    What is Cross-Origin Resource Sharing
    What requests use CORS?
    The HTTP response headers
    The HTTP request headers
    Learn CORS
    cross origin resource sharing (explained by example)
    cors header access-control-allow-origin missing
    how to fix cors error
    cors node.js
    cors node
    👉 Check out my other personal RUclips channel (it is in Hindi/English mix) where I share coding tips, tricks, and hacks: cdm.sh/mehulyt

Комментарии • 95

  • @codedamn
    @codedamn  2 года назад +4

    Learn JavaScript and other Full Stack Technologies on codedamn: cdm.sh/fullstack

  • @amanksdotdev
    @amanksdotdev 2 года назад +13

    This channel is going to blow up soon, the content is amazing.

    • @codedamn
      @codedamn  2 года назад +4

      Thank you for the support Aman!

  • @piyushmahapatra5402
    @piyushmahapatra5402 2 года назад

    Absolutely. Had a nasty cors error while working with serverless framework and react. Thanks for this! Loving it

  • @soorajs577
    @soorajs577 2 года назад +1

    Yesterday faced cores issue . I google it. Only readed but not find exact meaning. I teammate fixed it quickly. Today morning youtube recommended your video. Thanks lots

  • @vrg378
    @vrg378 2 года назад

    Really, you are giving a great stuff. Hoping more quality content like this from you 🤝

  • @nutankumar7404
    @nutankumar7404 2 года назад

    Thank you for this video, I was searching for CORS error. Now I got it.

  • @setyvyas2043
    @setyvyas2043 Год назад

    Well-explained, mate. Kudos!

  • @VK-ls3qe
    @VK-ls3qe 2 года назад

    Apart from video speed or explanation, Its awesome. good work ! no doubts, its very clear explanation.

  • @rashikraj7404
    @rashikraj7404 3 месяца назад

    bruh ur good at this stuff, I might actually get one of your courses

  • @shinjanpatra8822
    @shinjanpatra8822 2 года назад

    This channel is so inspirational in its own unique way that you will automatically be prompted to learn new technologies everyday😃

  • @niktalks6060
    @niktalks6060 2 года назад

    Wanted to learn about this topic and this video shows up on my list without me searching for it. What a coincidence

  • @bitslayerscorpion8776
    @bitslayerscorpion8776 2 года назад +1

    This was so cool.. Awesome one!

    • @codedamn
      @codedamn  2 года назад +1

      Glad it helped!

  • @TherealkevinAR
    @TherealkevinAR Год назад

    amazin explanations! thank you!

  • @giggleways
    @giggleways 2 года назад

    This channel deserves millions of subscribers. 💕

  • @DnyaneshwarRokadeCSP
    @DnyaneshwarRokadeCSP 2 года назад

    Very great explanation!!!

  • @akashraut2402
    @akashraut2402 6 месяцев назад

    Great explanation buddy. Keep it up.

  • @roshanmhatre8810
    @roshanmhatre8810 2 года назад

    Your each video really teaches something new to me in a fresh way, Thank you 👍

    • @codedamn
      @codedamn  2 года назад +1

      Thanks Roshan!

  • @robinmahato
    @robinmahato 2 года назад

    So much clear 👍

  • @durgeshsingh4811
    @durgeshsingh4811 2 года назад

    Thanks for the very clear and solid explaination about cors. I got the best knowledge about the cors and why it is important. I was looking about the cors knowledge exactly like this. I was able to image during your explanation. 👏👏👏

    • @codedamn
      @codedamn  2 года назад +1

      Hey! Congrats on Winning the codedamn T Shirt Giveaway. Please reply to this comment by mentioning your email for further communication.
      Or just go on your channel page and set an email address so that we can contact you that way.
      Or just reply here without using @ gmail . com.

  • @yuvrajbadgoti
    @yuvrajbadgoti 2 года назад

    No one can match this mans efforts and content quality ❤️❤️❤️

  • @xyz-eb2ky
    @xyz-eb2ky 2 года назад +1

    Keep us ineract with new technologies .
    I really like your interesting videos

  • @benjaminnwokolo2935
    @benjaminnwokolo2935 Год назад

    Amazing content 💯🔥

  • @Sonu-tg6tg
    @Sonu-tg6tg 2 года назад

    Thank you so much for this, your videos are really awesome with great video quality and content too.
    With help of your videos now I am able to build web projects.
    Thanks a lot!!

    • @codedamn
      @codedamn  2 года назад

      Thank you Chaitanya!

  • @suryakantasahoo9935
    @suryakantasahoo9935 2 года назад

    Concise to the point content..!

  • @gbengacode
    @gbengacode 2 года назад

    Excellent tutorial

  • @developerdeepu6318
    @developerdeepu6318 2 года назад

    I have seen lots of web developement tutorial here and there (Both Paid and Free ). But your content is amazing and it is above the mark. Execellent Job.
    One criticism : Explain a little more because your talking very technical aspects. (For all videos)
    Give me heart Sir ji. Maine Good aur Bad dono chije bataya hai.

  • @AkashSide
    @AkashSide 2 года назад

    Awesome video 😍

  • @Avoid0
    @Avoid0 2 года назад

    Amazing video once again 😍

    • @codedamn
      @codedamn  2 года назад

      Thank you Vikas!

  • @yogeshchaudhary621
    @yogeshchaudhary621 2 года назад

    Great explanation !!

    • @codedamn
      @codedamn  2 года назад

      Thank you Yogesh!

  • @sarathreddy844
    @sarathreddy844 2 года назад

    Nice explained

  • @bishnudas3562
    @bishnudas3562 2 года назад

    apka knowledge kamal ka he bhaiya 🤩!

    • @codedamn
      @codedamn  2 года назад

      Thank you bishnu!

  • @shehryartanoli2870
    @shehryartanoli2870 2 года назад

    Thanks for sharing such knowledge with free T-Shirt...

  • @adivmt
    @adivmt 2 года назад

    God level content 👏

  • @melwin217
    @melwin217 2 года назад

    Learnt something new

  • @raptordev2235
    @raptordev2235 2 года назад

    Seeing this content And Loving this content

  • @kwaku_2023
    @kwaku_2023 5 месяцев назад

    Awesome!

  • @Jeff-zc6rr
    @Jeff-zc6rr 2 года назад

    You never told us how never to get the error again. This just explains the error.

  • @oosmfacts8171
    @oosmfacts8171 2 года назад

    amazing one

  • @Raj-iz9uz
    @Raj-iz9uz 2 года назад

    Every Video Something New To Learn.. Thanks Mehul sir.. btw Interview Questions Course Unlocked sir 😊🙏🏻

    • @codedamn
      @codedamn  2 года назад

      Thank you Raj!

    • @codedamn
      @codedamn  2 года назад

      Hope you enjoy the interactive questions there, more questions coming soon

  • @nourrahim5556
    @nourrahim5556 Год назад

    thank you

  • @ShubhamGhuleCode
    @ShubhamGhuleCode 2 года назад

    please make a video on how to choose tech stack for a full stack project 🙌

  • @ridl27
    @ridl27 2 года назад

    ty

  • @hindistories4312
    @hindistories4312 2 года назад

    amazing video

  • @NaryVip
    @NaryVip 2 года назад

    Short and Sweet. Make some mern apps tuorials plz

  • @aamirbhat382
    @aamirbhat382 2 года назад

    Why cors error didn't come in postman

  • @lakshman587
    @lakshman587 2 года назад

    COMMENTED FOR T SHIRT GIVEAWAY!!!! :)

  • @KnowledgeUnknown
    @KnowledgeUnknown 2 года назад

    Today i learnt new thing

    • @codedamn
      @codedamn  2 года назад +1

      Awesome to know! All the best Kashiv

    • @KnowledgeUnknown
      @KnowledgeUnknown 2 года назад

      @@codedamn thankyou so much sir 🙏

  • @akashkishoremukhia7888
    @akashkishoremukhia7888 2 года назад

    After seeing this I will log out every website I log in.din't know that very informative. 🙄

    • @codedamn
      @codedamn  2 года назад

      You don't have to as long as you use a modern browser :) That's the point of having CORS and SOP implemented as security measures.

  • @im_parth
    @im_parth 2 года назад

    Codedamn > CORSera (got it ? )😆

  • @trebelojaques458
    @trebelojaques458 Месяц назад +1

    Mehul can I be your cross origin resource sharing policy

  • @zainuddin1205
    @zainuddin1205 2 года назад

    Good contents

  • @laxmangiri5511
    @laxmangiri5511 2 года назад

    add subtitle too in your paid courses

    • @codedamn
      @codedamn  2 года назад

      That is definitely on our to-do list. Thanks Puja, would keep you updated.

  • @mhdsbk
    @mhdsbk 2 года назад +1

    give me a t-shirt : )
    This channel is a gem by the way

  • @anamikasparadise6299
    @anamikasparadise6299 2 года назад

    super

  • @CT18006
    @CT18006 2 года назад

    love you

  • @rajendraprasad7509
    @rajendraprasad7509 2 года назад

    Hi bro help out . Having long gap 10 years learning front end developer is good.

    • @codedamn
      @codedamn  2 года назад +1

      Frontend development is good sure! You may want to start here in a structured way: codedamn.com/learning-paths/fullstack

    • @rajendraprasad7509
      @rajendraprasad7509 2 года назад

      @@codedamn thanks a lot

    • @rajendraprasad7509
      @rajendraprasad7509 2 года назад

      After learning these any company will recruit me. Or how like should get job.

  • @abdulrenishr
    @abdulrenishr 2 года назад

    good

  • @3x10.8_ms
    @3x10.8_ms 2 года назад

    there no difference in your video quality 4k and 1080p look same

  • @__________________________6910
    @__________________________6910 2 года назад

    codedamn

  • @lakshman587
    @lakshman587 2 года назад

    Will every browser have CORS?

    • @laxmangiri5511
      @laxmangiri5511 2 года назад +1

      yes bro

    • @bishnudas3562
      @bishnudas3562 2 года назад +1

      not if you make one without it 😂

    • @codedamn
      @codedamn  2 года назад

      Yeah every modern browser has CORS, however you can start certain browsers in non-CORS mode too (using flags from CLI)

    • @lakshman587
      @lakshman587 2 года назад

      @@codedamn ok thanks

  • @ahteshmaxx6946
    @ahteshmaxx6946 2 года назад

    thanks bro

  • @abhishekkumar-jo4en
    @abhishekkumar-jo4en 2 года назад

    Dedo bhai

  • @joemn9114
    @joemn9114 2 года назад

    Give me My first Programming T-shirt

  • @pratikgohil7821
    @pratikgohil7821 2 года назад +1

    most annoying error in the history of humanity 😑

    • @codedamn
      @codedamn  2 года назад +1

      Haha, we've all been there

  • @AkashSide
    @AkashSide 2 года назад

    Awesome video 😍