i have a react app create with create-react-app. i want to send request to another url:
fetch('anotherUrl')
.then(response => response.json())
.then(res => console.log(res))
After that i've a cors problem. How to set middleware to null this error?