Ошибка Uncaught (in promise) SyntaxError: Unexpected end of input - при fetch() запросе

fetch('http://localhost:5000/api/server', {mode:'no-cors'})
      .then(response => response.json())
      .then(json => console.log(json)) 

На сервере JSON:

[{"body":"nikita","email":"jfk"},
{"body":"daniil","email":"jfk"},
{"body":"sergey","email":"jfk"},
{"body":"karp","email":"jfk"}]

Ошибка при запросе с сервера:

Uncaught (in promise) SyntaxError: Unexpected end of input


Ответы (0 шт):