Envoi d'une récupération avec demande en entrée (notez le clone ())
/*Note the clone() on either the request or response. Generally, we add it to the Request or we will not get our data*/
const myRequest = new Request('/test',{method:"POST", body: JSON.stringify({name:"HELLO"}), headers: {'Content-type': 'application/json; charset=UTF-8'}});
let r = await fetch(myRequest.clone());
let w = await r.json()
console.log(w.name);
/*OR*/
const myRequest = new Request('/test',{method:"POST", body: JSON.stringify({name:"HELLO NURSE"}), headers: {'Content-type': 'application/json; charset=UTF-8'}});
let r = await fetch(myRequest);
let w = await r.clone().json()
console.log(w.name);
Javasper