A
A
Andrey Astafiev2020-04-06 18:19:58
JavaScript
Andrey Astafiev, 2020-04-06 18:19:58

How to expect a long response from the server?

I send a fetch request, the Post method throws an error in a minute

Access to fetch at ' https://www.test.com:3999/api/test/ ' from origin ' localhost:3000 ' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question