I’m not getting anything in return from the fetch.
Here’s the url I’m trying to fetch from: http://labs.bible.org/api/?passage=John+3:16-17
Here’s the code I’m using:
fetch(’ http://labs.bible.org/api/?passage=John+3:16-17 ', {method: ‘get’})
.then(httpResponse => httpResponse.text())
.then(text => console.log(text));
Any help would be appreciated.