Rest API - HTTP Methods
Given this JavaScript fetch code:
What status code will be logged if the product with ID 10 is deleted successfully?
fetch('/api/products/10', { method: 'DELETE' })
.then(response => response.status)
.then(status => console.log(status));What status code will be logged if the product with ID 10 is deleted successfully?
