title: Laravel download pdf file stored in separate Laravel app
body: <p>I have 2 Laravel(5.8) apps.  One is a user application, the other is more of an API.</p>
  
  <p>The Api has pdfs stored in the storage directory, I need to be able to allow a user to download the pdfs in the other application.</p>
  
  <p>Really got no clue how to send the file over from app to the other.  </p>
  
  <p>The user app makes an api to the api with relevant file ids and things (fine), just can't work out how to send the file back, and then download it on the other end.</p>
  
  <p>Tried things like <code>return response()-&gt;stream($pdf)</code> on the api and <code>return response()-&gt;download($responeFromApiCall)</code> and loads of other things but really getting nowhere fast.</p>
  
  <p>Any advice welcome.</p>