Skip to main content
GET
/
task
/
{id}
/
localVariables
/
{varName}
/
data
Get Local Task Variable (Binary)
curl --request GET \
  --url http://{host}:{port}/{contextPath}/task/{id}/localVariables/{varName}/data \
  --header 'Authorization: Basic <encoded-value>'
"binary variable: Status 200. Content-Type: application/octet-stream"

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The id of the task to retrieve the variable for.

varName
string
required

The name of the variable to retrieve.

Response

Request successful. For binary variables or files without any MIME type information, a byte stream is returned. File variables with MIME type information are returned as the saved type. Additionally, for file variables the Content-Disposition header will be set.

For binary variables or files without any MIME type information, a byte stream is returned.