Camunda 8.7 SaaS File Upload using REST Connector

I’ve created a REST Connector Task that should send a file according to the documentation in base64 in the body in a JSON format.

The body in my REST Connector:

{
“someData”: “something”,
“fileName”: documents[1].metadata.fileName
“base64”: documents[1]
}

Instead of converting the “documents[1]” to base64 - documents is a variable coming out of a file picker in Camunda 8 Form - Camunda connector is sending just the JSON pointing to the file.

Camunda 8 Rest Connector documentation does not seem to be right.