diff --git a/w14_olama/rest.js b/w14_olama/rest.js new file mode 100644 index 0000000..3e9d867 --- /dev/null +++ b/w14_olama/rest.js @@ -0,0 +1,10 @@ +const url = 'https://swapi.info/api/people/1'; + +const options = { + method: 'GET', + + headers: { + Accept: 'application/json', + 'Content-Type': 'application/json', + }, +};