let delTeacher = (id) => { teachers.delete(id); fetch('http://localhost:8080/teachers', { method: 'DELETE', headers: { teacher: id } }) };
Related questions
fetch(url, {method: 'DELETE', ...})
fetch('http://localhost:8080/teachers', { method: 'DELETE', ... })
Find more questions by tags JavaScript
can suggest how to continue to fill?
around 100 options tried, not pravino( - leatha_Schmeler commented on April 19th 20 at 12:41