Converting a .pdf to base 64

Hi. Trying to upload a .pdf file then convert it to base64 before sending it as a string to a Dynamics endpoint. So far the function is working fine for very small .pdf’s (less than 50 kb), but not larger.
Is there any suggestions for how to solve the issue or alternative ways to send the uploaded .pdf to an endpoint.

Should i instead convert it to a blob and send this to the endpoint. If so what datatype in appfarm should store the blob I’m converting?

Thank you for helping out!

Hi!

Can you send me a DM with the solution name?

We have a new feature (flag) that boost this performance significantly, but we have yet to verify it a bit more before it’s released to all.