'I have data in this link but it still Showing this error
[enter image description here][1]```
fetch(https://tranquil-beach-35648.herokuapp.com/bikes/${inventoryId}, {
method: 'PUT',
headers: {[enter image description here][2]
'content-type': 'application/json'
},
body: JSON.stringify(quantity)
})
.then(res => res.json())
.then(data => {
console.log('Success', data);
alert('user added Successfully!!');
event.target.reset();
})
// console.log(quantity)
}
https://i.ibb.co/WK1bYh6/1.png[enter link description here][1]
[1]: https://i.ibb.co/WK1bYh6/1.png
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
