Convert SAML response to string

Hello    We are calling an Azure chat bot from Mendix. We are just redirecting to chatbot URL on button click We also have SAML in Mendix, Now the requirement is to Pass the SAML Response to Chatbot so that they can also verify user using SAML SSO. I can see that SAML response is a file (binary) ( SAMLResponse/Contents). Is there any way I can convert that to string, so that I can add it as parameter to chatbot url   Thanks
0 answers