TypeError: Failed to fetch
(anonymous function)
req.end((red) => {
"If (res.error) throw new Error(res.error);" // <= uncaught (in promise) Error: TyperError: Failed to fetch
const movies = res.body.Search
this.set state({ movies });
//console.log(res.body.Search);
});