title: Convert base64 string of data into PDF file for download from API - NodeJS
body: <p>I have a nodeJS API configured which connects to another API and retrieves a data object, which is a Base64 string.</p>
  
  <p>The client that calls the API endpoint needs to download a PDF file that is made from the base64 data. </p>
  
  <p>How should the data be returned to the client so that it can be converted/prompt download from the browser? Should this be done client or server-side?</p>