GET images via http-connector Plugin

Hi,

im trying to use the http-connector Plugin inside a Servicetask to make a GET Request.
Whats the best way of handling a GET Response of Content-Type image/png?
My goal is to display that image in either an Embedded Task Form or a Camunda Form.

Many Thanks!

Hi @N12345,

As a basic approach, you have to save the result of the get request as a binary process variable (Process Variables | docs.camunda.org) and load this in your form.

This may fill the database quickly, depending in the size of the image and the history level you choose.

It may be better to load the image directly in the form or save them not as a process variable, but only the reference to the picture as a process variable, then of type String.

Hope this helps, Ingo