Actual situation:
I have a 2 blob triggered azure functions
that are working perfectly (one is v2
and the other v1
)
I have, in the other hand, a REST WEB API application
(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)
-> What I want to do is :
call the web api application via http calls(call encrypt or decrypt or whatever) from my azure function to decrypt blob content.
No authentication needed.
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 ?
In other terms, what is the best way to call an api from my azure function.?
Can anyone provide me some code samples?