T
T
Tynkute2020-07-16 12:56:13
JavaScript
Tynkute, 2020-07-16 12:56:13

CORS Error Request from outside source blocked?

Hello.
Ran into a problem
Foreign origin request blocked: Single origin policy forbids reading remote resource at localhost:5000/Main/user/sign-up . (Reason: CORS request failed).

TypeError: NetworkError when attempting to fetch resource.

Permission to request from all sites made:
tiukbl
If I understand correctly, it is impossible to make a request from http to http, do you need https?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stas Khitrich, 2020-07-16
@Snova_s_vami

Localhost and CORS don't work together. Try hosting

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question