added rest exercise

This commit is contained in:
Andrea Bianchi
2026-05-27 13:35:22 +09:00
parent 5c6502d9c0
commit 122a6b9b31

10
w14_olama/rest.js Normal file
View File

@@ -0,0 +1,10 @@
const url = 'https://swapi.info/api/people/1';
const options = {
method: 'GET',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
},
};