AnsweredAssumed Answered

Wrong content type in REST-API

Question asked by b.schnarr on Mar 25, 2015
Latest reply on Mar 27, 2015 by balsarori
Hello at all,

when you invoke the Activiti REST-API
runtime/process-instances/{process-instance-id}/diagram
, the content-type set by the REST-API is
text/html
. That leads to the problem that the diagram (png) can not be displayed in the browser because the browser only displays the raw-content of the png-diagram.
Shouln´t it be
image/png
?

I need to display the diagram with the current state in a browser. Any idea without changing the rest api?

Best regards
Ben

Outcomes