I am trying to create azure function which will take PDF sent from BC and encrypted it with password. I try two different approach.
First, to send instream from BC with content
And azure function is like down there, but always got an error. Seams like I don't take stream parameter on azure function correct.
I also try to convert pdf to ToBase64, and send it like dictionary parameter but got error
Answers
I did not create it locally.
Internal server error
This is the scaffolding created for a C# Azure Function
And this is how the Test/Run is working.
You could try it.
Regards.
This was the first code I tried and its work. But I have a problem to pass and manipulate with stream.
Could you post how you pass in the body request the PDF to that Azure Functrion ?
In my opinion is better send it in Base64.
Regards.