title: how to create a PDF doc with the PDF content returned from a REST API
body: <p>I am calling a REST API from the browser which gives me just the PDF content. The content-type in the response header of the API is "application/pdf". </p>
  
  <p>I need to create a PDF document with this content and I should be able to open the PDF doc in a new tab and I should be able to download the PDF as well. How can I do this on UI. Do we have any JS library which would help me with this ? I have looked into JSPdf and PDF.js libraries but not sure whether these are the ones I can use.</p>