camunda / feel-scala

FEEL parser and interpreter written in Scala
https://camunda.github.io/feel-scala/
Apache License 2.0
119 stars 46 forks source link

Support encoding of strings to base64 #846

Closed sbuettner closed 1 month ago

sbuettner commented 1 month ago

Is your feature request related to a problem? Please describe.

Some APIs require data to be sent as base64 encoded strings. Even for text values like textfile contents. It would therefore be handy to be able to encode strings right inside the feel engine via a OOTB function that supports strings.

Describe the solution you'd like

We should support an encode base64 function that accepts a string as the input and returns a base64 encoded string as the output.

Related issues

https://github.com/camunda/connectors/issues/2023