Base64Encode (text)

Result type:  text

Definition:  Encodes text as a base64-encoded string. Some web services (such as Basic Authentication to REST services) require base64-encoded data.

Example:  Base64Encode("Hello World!") returns "SGVsbG8gV29ybGQh".

Availability:  available within MWScript handlers.

See Also:

Base64Decode: String from a base64 encoding

Curl_Close: Finish with a CURL session

Curl_Exec: Execute a CURL session

Curl_Init: Start a CURL session

URLEncode: Convert url unsafe characters in a string to "%xx”