Spaces:
Build error
Build error
Download javascript from irelandcuca/HumanMaster6HD: direct link, hf CLI and curl.
- Browser
- Download file 393 Bytes
-
https://huggingface.co/spaces/irelandcuca/HumanMaster6HD/resolve/main/javascript
- Command line
-
hf download hf://spaces/irelandcuca/HumanMaster6HD/javascript
-
curl -L -o javascript https://huggingface.co/spaces/irelandcuca/HumanMaster6HD/resolve/main/javascript
393 Bytes
| 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)); | |