remettre la requete

front
Gwenael PLANCHON 1 year ago
parent 83c953e959
commit 93c40ad79a

@ -10,7 +10,7 @@ export default {
donnees.motDePasse=hashMDP donnees.motDePasse=hashMDP
const donneesJson=JSON.stringify(donnees) const donneesJson=JSON.stringify(donnees)
console.log(donnees) console.log(donnees)
//fetch(REST_API+"/utilisateur", {method:"POST", body:donneesJson}).then(response=>) fetch(REST_API+"/utilisateur", {method:"POST", body:donneesJson, headers:{"Content-Type":"application/json"}}).then(response=>console.log(response))
}) })
}, },
async hasherMDP(mdp){ async hasherMDP(mdp){

Loading…
Cancel
Save