Rest API - HTTP Methods
Given this POST request code snippet, what will be the server's response status if the resource is created successfully?
fetch('https://api.example.com/items', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ name: 'Book', price: 10 })
})
.then(response => response.status)