CORS POLICY No 'Access-Control-Allow-Origin' header is present on request | SOLVED | 100% WORKING

preview_player
Показать описание

But before that let me explain why you get cors policy Access-Control-Allow-Origin' header is present on the requested resource error while making request, it happens because our frontend and backend application are not running on the same port and for security, our browsers generally do not allow sending request on application running on different port and hence it results into cors policy Access-Control-Allow-Origin' header is present error.

The solution of cors policy Access-Control-Allow-Origin' header is present on the requested resource error can be solved by 2 methods

2. Allowing your backend application to accept cors requests.

Рекомендации по теме
Комментарии
Автор

Hope this video will help you. Make sure to like and subscribe.

SteezyCoding
Автор

I'm getting this error sometimes once in a day or once in a 2 days or once in a week. When I restart the server. The error goes away itself. Can you tell me why I'm getting this error. I need to resolve this issue in that way like i will not get that again

santoshdevi
Автор

THANK I have an interview tomorrow and this video just saved my apresentation

igorpierre
Автор

Thanks for the help bro👍! I was new this error & not finding proper solution to this but by help of your suggested extension it resolved my issue in sec.

siddtheswatgaming
Автор

thank you mate this really helped me for some last minute project work.

nandoberisha
Автор

Thanks a lot brother, You saved my another 1 hour to dig my problem more, Really appreciate your hardwork, Your solution worked for me 😍 😍😍😍

rishikesharora
Автор

thanks bro last five min remaining to present project i as facing this issue and your video save my masks

praveenmaurya
Автор

ohh man...thank you so much for this video. this helps me a lot. I appreciate your efforts.

vishwkadu
Автор

thanks for help i was stuck on it whole night

KapilKumar-dblc
Автор

you are awesome bro solved my problem thanks a lot...

VIKASCHAURASIYA_
Автор

THANK YOU MUCH Bro. you save the day 😍

nuhanislam
Автор

thanks man ! that extension solved the problem

akshaychavan
Автор

But what if i dont have access to backend code

anandhu