I wanted to fetch the result from the dummy API with react js using fetch. But I'm getting the error of "SyntaxError: Unexpected token < in JSON at position 0" from console.log()

```
handleSubmit(event) {

fetch({
  url:'http://dummy.restapiexample.com/api/v1/employees',
  mode: 'cors',
  method: 'GET',
  dataType: 'json',
  headers: {
    'Access-Control-Allow-Origin':'*',
    'Content-Type': 'multipart/form-data'
  }
})
.then(response => response.json())
.then(data => {
    console.log(data);

})
.catch(error => {
    console.error(error);
});

event.preventDefault();
}

```