title: Store api response in IndexedDB
body: <p>I'm building a web app where I need to store data offline. For that I'm using indexedDb. I want to store the response received from the API into the indexedDB and then pass that data into the web app.</p>
  
  <p>How do I achieve the same ? I have gone through the official Docs but there's no mention of how to pass on the the api response data to indexedDB.</p>