title: Display the html returned by fetch()
body: <p>I am using a web app to submit some form data to an API. The process is as follows:</p>
  <ol>
  <li>Enter data in a html form</li>
  <li>When the user presses a button I use javascript to collect the form data and create a JSON string out of it</li>
  <li>Using fetch() I post that JSON to an API endpoint</li>
  <li>The API server returns a redirect to a new page (complete html document)</li>
  </ol>
  <p>What I would like to achieve is that when the fetch request completes the user would be redirected to the page that was received from the API server. I tried searching for this however I couldn't find anything since most examples are for storing the response in a variable and doing something with it.</p>
  <p>This needs to be done in vanilla Javascript, since it is an embedded system and I would like to use as little dependencies as possible.</p>