fix api tutorial
This commit is contained in:
@@ -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:"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user