WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation provides a Base64 Helper utility within the Miscellaneous resource. It allows users to encode a given input string into Base64 format or decode a Base64 string back to its original form. This is useful in scenarios where data needs to be safely transmitted or stored in a text-based format, such as embedding images or files in JSON, or decoding received Base64 data for further processing.

Use Case Examples

  1. Encoding a plain text message to Base64 before sending it over a network.
  2. Decoding a Base64 encoded string received from an API to retrieve the original content.

Properties

Name Meaning
Action Specifies whether to encode or decode the input string using Base64.
Input The string data to be encoded or decoded in Base64 format.

Output

JSON

  • json - The result of the Base64 encoding or decoding operation, returned as a JSON object.

Dependencies

  • Requires an API key credential for the WARest WhatsApp REST API to perform the Base64 operation via the API endpoint.

Troubleshooting

  • Ensure the input string is valid for the selected action; decoding invalid Base64 strings will cause errors.
  • Verify that the API credentials are correctly configured and have access to the Base64 helper endpoint.
  • If the node throws an error stating the operation is not implemented, confirm that the resource is set to Miscellaneous and operation to Base64 Helper.

Discussion