How to Fix The Cors Error with a Reverse Proxy

How to Fix The Cors Error with a Reverse Proxy

CraigGoesCoding

4 года назад

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

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


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

@supermango1757
@supermango1757 - 27.10.2020 09:26

I wrote all of the code along with you in the video but I ended up getting this error when I ran the server: Error: Route.get() requires a callback function but got a [object Object]...... Anyone know what to do from here?

Ответить
@Zabrana91
@Zabrana91 - 01.01.2021 20:15

Hello Craig,
I just wanted to say THANK YOU!
You helped me solving my problem on which i sat on for more than 3 days straight.
I gave you a like :D
Have a nice year 2021 <3

Ответить
@arnolouw7325
@arnolouw7325 - 16.04.2021 11:35

Legend! Thanks Craig, exactly what I needed.

Ответить
@ravendfj
@ravendfj - 03.06.2021 08:47

Thanks a lot man!

Ответить
@devdev8638
@devdev8638 - 01.08.2021 22:18

Nice job from Algeria

Ответить
@noelcovarrubias7490
@noelcovarrubias7490 - 20.08.2021 10:52

Hello craig, thank you so much!

Ответить
@martinnyagah4313
@martinnyagah4313 - 21.11.2021 08:30

I am subbed. Keep doing this you are going to gain a subscriber count soon! This by far is the best and the only realistic, executable solution I needed.

Ответить
@myko_chxn
@myko_chxn - 14.12.2021 11:05

Great video, was getting cors error on my react app, this goes through everything I think I need. Cheers man

Ответить
@jasonb202020
@jasonb202020 - 08.01.2022 09:44

BRILLIANT! the best Vue/Cors issue resolution on the Web. Thanks Craig!

Ответить
@wendyderidder7185
@wendyderidder7185 - 12.01.2022 00:45

Great video, it works for me with get requests, but I still get an error when using this with a post request. Same api url, just method: "POST". Do you have an idea on how to fix this?

Ответить
@saitarun3246
@saitarun3246 - 12.01.2022 03:00

Great video, it was very helpful :)

Ответить
@elmenikmati
@elmenikmati - 13.01.2022 04:14

¡Muchas gracias!, your video helps me a lot!

Ответить
@eheads3891
@eheads3891 - 13.01.2022 11:25

This is great man! How about adding the form data when using post? Thanks

Ответить
@snoowwe
@snoowwe - 29.01.2022 00:58

Won't this make it so that every request to my server will now be as if I got two requests? One for the server one for the reverse proxy.
Is this scalable?

Ответить
@denver_dalman
@denver_dalman - 18.02.2022 09:52

Thank you so much for this! I just have one problem.

endpoint([\\/\\w\\.-]*\\) does not seem to include the query parameters. :( Do you know how to include them?

Ответить
@juanisidorogarcia1699
@juanisidorogarcia1699 - 18.04.2022 10:43

Thank you very much for your video!
I just started creating my application and I started having problems accessing the API and I couldn't solve the CORs. The reverse proxy has been the solution!!
It is also safer and a great solution!

Thank you very much for your video, thank you very much for your work! 🤗👌

Ответить
@mydemo2808
@mydemo2808 - 22.06.2022 11:53

Thanks man, great video to solve CORS issue. It will be great if you can make video for POST request as well. Thanks a lot.

Ответить
@givemeyourpath
@givemeyourpath - 19.07.2022 17:22

is using regex a good choice? Regarding security and stuff

Ответить
@AlexUnderCMYK
@AlexUnderCMYK - 10.11.2022 13:22

Super clear and easy! thanks very much

Ответить
@Vlad-sw4zd
@Vlad-sw4zd - 24.12.2022 15:41

Wow, just what I was looking for, ty!

Ответить
@shivajivishnoi9721
@shivajivishnoi9721 - 19.04.2023 14:04

thank you very much

Ответить
@muhammaddzikri4238
@muhammaddzikri4238 - 10.06.2023 17:35

thanks dude, u save me!

Ответить
@OnlineCode
@OnlineCode - 20.10.2023 10:47

How can i make q= in the string to an variable which can be set by the user on the webpage, for example from bitcoin to ethereum, and the value is passed to the reverse proxy?

Ответить
@putishestvuj4062
@putishestvuj4062 - 12.02.2024 16:02

Thank you for your relaxed and calm explanation! Enjoyed!

Ответить