Fix CORS Policy issue when calling api to another domain service. reactjs (English version)

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Thank you so much, I looking a lot about his problem and I tired did any plan and so didn't work. but your plan worked. thank you.

mydailyshots
Автор

Thanks, this video solved my problem

CodeAProgram
Автор

Wow, Jenny! This video you put out helped me fix my issue right away. It's simple! Thank you!

JoseReyes-mvox
Автор

Yeah, but what about a production server? This package is for dev purposes only.

Vlad-swzd
Автор

you tutorial is really good but what if someone has data it wants to pass on the request.
image the users having location he needs to pass on the api from a frontend.
how do you go about passing that data ?
I am very stuck at this point.

gabrielfono
Автор

I got this error 😭
Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options.allowedHosts[0] should be a non-empty string.

Jimmy-ztio
Автор

Jenny, in production don't work proxy in package.json :( How I solution this?

geraPromos
Автор

my proxy is localhost and it doesnt work

kacperkepinski
Автор

You really saved my life. Thank you so much, Jenny. Love from Brazil

bernardodesouzasilva
Автор

I tried using it in production but it did not work

nandommamdam
Автор

Hi, where did you configure the setup proxy file?. you didn't mention that

yuvaraj-gbiz
Автор

great video mate! but I recommend you to use your own voice instead of generated voice.

rei
Автор

It's work fore in local host but didn't in Netlify. Thanks for your video!

montotox