Spaces:
Build error
Build error
File size: 393 Bytes
90af90b | 1 2 3 4 5 6 7 8 9 10 11 12 13 | fetch('https://irelandcuca-humanmaster6hd.hf.space/api/users', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
id: "auth0|12345",
email: "ejemplo@ucdm.com",
first_name: "Benny",
last_name: "Agosto"
})
})
.then(res => res.json())
.then(data => console.log("¡Usuario guardado en base de datos!", data));
|