CopyPastor

Detecting plagiarism made easy.

Score: 0.887498530474576; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2019-07-28
by Mohammad Ali Rony

Original Post

Original - Posted on 2018-04-18
by yugantar



            
Present in both answers; Present only in the new answer; Present only in the old answer;

The issue could be with the response you are receiving from back-end. If it was working fine on the server then the problem could be with the response headers. Check the Access-`**Control-Allow-Origin (ACAO)**` in the response headers. Usually react's fetch API will throw fail to fetch even after receiving response when the response headers' ACAO and the origin of request won't match.
for more information [link][1]

[1]: https://medium.com/@baphemot/understanding-cors-18ad6b478e2b
The issue could be with the response you are receiving from back-end. If it was working fine on the server then the problem could be with the response headers. Check the *Access-Control-Allow-Origin* (ACAO) in the response headers. Usually react's fetch API will throw fail to fetch even after receiving response when the response headers' ACAO and the origin of request won't match.

        
Present in both answers; Present only in the new answer; Present only in the old answer;