The ToBase64Url() function encodes a text or a file to a base64 encoded text which is safe to use in URLs.
ToBase64Url()
WIKI: https://en.wikipedia.org/wiki/Base64#The_URL_applicationsarrow-up-right
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Encoding is carried out using the UTF8 charset.
Returns a base64 encoded text that is safe to use in URLs.
ToBase64Url(
text
)
ToBase64Url("SomeText or Other 1234") => "U29tZVRleHQgb3IgT3RoZXIgMTIzNA"
ToBase64Url("SomeText or Other 1234")
file
ToBase64Url( [File] ) => "U29tZV..... .... .... IgMTIzNA"
ToBase64Url( [File] )
☑️
a text
a file
Last updated 7 months ago
Was this helpful?