"add edit and delete rows of a html table with javascript Fetch API REST API Express" code example
Example: js add body data to put request
fetch(url, {
method: 'PUT',
body: "any type of data"
});
fetch(url, {
method: 'PUT',
body: "any type of data"
});