Closed revskill10 closed 5 years ago
I'm overriding Fetch options to query from REST API. My options is
const dspaceOptions = { url: 'https://jsonplaceholder.typicode.com/todos/1', headers: { 'Content-Type': 'application/json', method: 'GET' } }
But i got error fetch error in cacheValue. In some cases, my API is from a legacy REST server and i'd love to use this library to do the fetch also.
fetch error
I'm overriding Fetch options to query from REST API. My options is
But i got error
fetch error
in cacheValue. In some cases, my API is from a legacy REST server and i'd love to use this library to do the fetch also.