Base64

Introduction

This document serves as a guide to understanding Base64 encoding and decoding within the Autom Mate platform.

The Base64 component provides essential functionalities for encoding and decoding data using the Base64 standard. It enables users to convert binary or text data into a format that is easily transmittable through text-based protocols.

What is Base64?

The Base64 component allows users to perform Base64 encoding and decoding operations on data. It simplifies the process of converting binary data into a text format and vice versa.

Key Features

  • Encoding Data: Convert binary or text data into Base64 format.

  • Decoding Data: Retrieve original data from Base64-encoded format.

  • Text-Based Communication: Facilitates data transmission through text-based protocols.

  • Compatibility: Works with various data types, including images, files, and text.

How To Use Action

Encode

Description: The Encode action converts data into Base64 format.

Usage:

  1. Input Data:

    • Specify the data to be encoded into Base64.

  2. Output Format:

    • Retrieve the encoded data in Base64 format.

Example:

plaintextCopy codeInput Data: "Hello, World!"
Output Format: "SGVsbG8sIFdvcmxkIQ=="
Select File: With this option, it is possible to choose a file from the computer that the user is connecting to the web interface. Then, this file will be encoded.
File Path: Instead of the local computer, the file can be chosen from the Data Store and the file will be encoded.
Custom String: We can just define a string to get encoded.

Decode

Description: The Decode action retrieves the original data from Base64 format.

Usage:

  1. Input Data:

    • Provide the Base64-encoded data to be decoded.

  2. Output Format:

    • Obtain the original data after decoding.

Example:

plaintextCopy codeInput Data: "SGVsbG8sIFdvcmxkIQ=="
Output Format: "Hello, World!"
File Path: We have 3 sections to fill in at this option: Base64 Code (In this part, we have to write down the encoded value of the data), File Name (We will define the name and the extension of the file that is going to be created.), Folder Path (We will define a path form the Data Store to the file that is going to be created). At the end of the operations, you can see the file under Data Store
Custom String: Only the encoded value will provide in this field and it will decode as the response object.

Additional Tips

Last updated

Was this helpful?