title: Best approach to call web api from azure function
body: <p><strong><em>Actual situation:</em></strong></p>
  
  <p>I have a 2 <code>blob triggered azure functions</code> that are working perfectly (one is <code>v2</code> and the other <code>v1</code>)
  I have, in the other hand, a REST <code>WEB API application</code> (that exposes methods to encrypt and decrypt a stream) published in my azure Devops (still not deployed on azure portal, actually, only code is added to an azure Devops repo)</p>
  
  <p><strong><em>-> What I want to do is :</em></strong></p>
  
  <p>call the web api application via http calls(call encrypt or decrypt or whatever) from my azure function to decrypt blob content.</p>
  
  <p>No authentication needed.</p>
  
  <p>In order of best practices, is it more suitable to make an API APP from my web api, or just deploy my web api project as web app to azure? and why ?</p>
  
  <p>In other terms, what is the best way to call an api from my azure function.?</p>
  
  <p>Can anyone provide me some code samples?</p>