fix api tutorial

This commit is contained in:
2026-02-16 22:19:12 +01:00
parent 4ecf8f49e9
commit c5b16b7e02
2 changed files with 57 additions and 32 deletions

View File

@@ -40,27 +40,32 @@
outputLabel: "Output Step 1:"
},
{
title: "2. Prima chiamata Fetch (GET)",
title: "2. Async/Await",
description: "Per usare 'await', la funzione deve essere dichiarata come 'async'.",
outputLabel: "Output Step 2:"
},
{
title: "3. Prima chiamata Fetch (GET)",
description: "Recuperiamo un oggetto JSON reale da un server pubblico.",
outputLabel: "Dati ricevuti:"
},
{
title: "3. Estrazione Dati (JSON)",
title: "4. Estrazione Dati (JSON)",
description: "La risposta grezza non basta. Dobbiamo convertirla ed estrarre il titolo.",
outputLabel: "Titolo del Post:"
},
{
title: "4. Gestione Errori (Try/Catch)",
title: "5. Gestione Errori (Try/Catch)",
description: "Proviamo a chiamare un sito che non esiste per vedere se il codice sopravvive.",
outputLabel: "Stato operazione:"
},
{
title: "5. Lavorare con le Liste (Array)",
title: "6. Lavorare con le Liste (Array)",
description: "Scarichiamo 10 utenti e mostriamo solo i loro nomi.",
outputLabel: "Elenco Utenti:"
},
{
title: "6. Invio Dati (POST)",
title: "7. Invio Dati (POST)",
description: "Simuliamo l'invio di un nuovo post al server.",
outputLabel: "Risposta Server:"
}