How To Solve CORS Error? Learn CORS in 6 mins

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

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

  • @lokeshshriwas2713
    @lokeshshriwas2713 9 месяцев назад +5

    but whats about the new update of chrome and edge ... i used all the possible options to solve this error but not yet succeded used cors headers origin , proxy etc but its showing error in production its working very fine in firefox without issue ...issue comes in chrome and edge browser (Only in production environment ) how can i solve it ????

    • @programmer_rohan
      @programmer_rohan 5 месяцев назад +1

      Did you got any solution?

    • @ayush_bhardvaj
      @ayush_bhardvaj 2 месяца назад

      Did it get solved? It's actually a nightmare. Can you help me on this?

  • @mohammadaabis2660
    @mohammadaabis2660 Месяц назад

    You made very simple and explained well without taking time.

  • @devil-sz5kp
    @devil-sz5kp 3 месяца назад +1

    I hosted my backend and frontend and today is last date of projects submition.. not its not solving from 2 days😢

  • @ajmahato7981
    @ajmahato7981 2 месяца назад +1

    I am struggling for 2 hours before watching your video

  • @sukunademonking07
    @sukunademonking07 11 месяцев назад +1

    wow! I already know cors but always check videos related to it. You have really made simple for the newcomers. Wish I had this video when I first encountered this error. Would have saved many hours😢😢 Thank you

    • @EtishaGarg
      @EtishaGarg  11 месяцев назад

      Glad it was helpful!

    • @sukunademonking07
      @sukunademonking07 11 месяцев назад

      @@EtishaGarg Can you please make a video on how to implement payments specifically with stripe with a simple frontend and backend like how it's done in production apps? How we secure the user details and transaction or does stripe does it for us? Lastly how do we secure our APIs?
      It would really mean a lot.

    • @EtishaGarg
      @EtishaGarg  11 месяцев назад +1

      It's already there in my list. Will surely make one soon :)

  • @_pathak
    @_pathak 8 месяцев назад +1

    Hello mam ! My application runs on localhost port on my machine and the fetch request that I want to make is on a arduino based server with its specific ip. How can I make request from my frontend to that server without getting cors errors?

  • @ArchanaRawat-r3f
    @ArchanaRawat-r3f 3 месяца назад +1

    Dii thank you soo much , I was not able to solve this error , but your video is so helpful 😊🥰

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

    simply, very usefull - and super and simple neat manner explanation thanks for the video.

  • @davinash97
    @davinash97 11 месяцев назад

    Very well explained 👏🏻 I remember when I was implementing the same in PHP had to go through multiple resources just to understand it. I accidentally came across this channel. Subscribed! Looking forward to see more!

    • @EtishaGarg
      @EtishaGarg  11 месяцев назад

      Glad it was helpful!

  • @rsk_st1294
    @rsk_st1294 4 дня назад

    I faced a similar error in a javascript project. Will this help?

  • @ankitsaurabh8158
    @ankitsaurabh8158 11 месяцев назад

    Good one, just started learning MERN stack and already got a heads up

  • @LakshmiCharanTangisettiTangise
    @LakshmiCharanTangisettiTangise 2 дня назад

    shall we connect i am not able to solve this

  • @soubhagyamallick6564
    @soubhagyamallick6564 10 месяцев назад

    Well explained 😊 Thanks

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

    Hello ma'am how to solve cors error in case of firebase??

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

    Are you a developer
    We need one developer for php project

  • @harshalmakode637
    @harshalmakode637 Месяц назад

    not worked on vercel

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

    I tried my level best to solve this problem. I even allowed global access, used proxy in the frontend as well. But the problem is still there. Can you help?

    • @ababakr_asa
      @ababakr_asa 5 месяцев назад +1

      Did you solve bruh ?

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

      @@ababakr_asa yeah I did. Basically there was no problem to start with. I was passing the wrong mongodb uri -_-

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

      @@ababakr_asa yeah, basically there was no problem to start with. I was passing a wrong mongodb uri to the server. I spent 2 days solving a problem that didn't exist. LMAO

  • @rupeshpatil6957
    @rupeshpatil6957 2 месяца назад

    Thanks :)

  • @ajmahato7981
    @ajmahato7981 2 месяца назад

    Thank you didi

  • @dgDurgesh
    @dgDurgesh 4 месяца назад

    thankyou thanku so much

  • @cohcitc
    @cohcitc 7 месяцев назад

    Thank u mam

  • @SravanKing-x1q
    @SravanKing-x1q 2 месяца назад

    ok if will change server address in this case localhost:8000 to localhost:5173 then both are same origin will it work

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

    thanks

  • @princebansal_
    @princebansal_ 11 месяцев назад

    Great Video !