The Base64 Operator enables users to encode or decode a string in Base64 format.
#Release Stage
Alpha
#Operator Configuration
The operator configuration is used for setting up the input data and parameters of this component. The configuration is configured in pipeline recipe, please refer to pipeline for more details.
Field | Type | Note |
---|---|---|
task* | string | TASK_DECODE or TASK_ENCODE |
data* | string | String data to be encoded or decoded |
#No-code Setup
#Low-code Setup
This is a sample configuration
in the pipeline recipe.
{ "configuration": { "task": "TASK_ENCODE", "data": "{ start.data }" }}
When you send the request, you can use this request format
curl --location 'http://localhost:8080/vdp/v1alpha/users/<user-id>/pipelines/<pipeline-id>/trigger' \--header 'Content-Type: application/json' \--header 'Authorization: Bearer <api_token>' \--data '{ "inputs": [ { "data": "Hello World!" } ]}'
For other operations, please refer to the VDP Protobufs.