cancel
Showing results for 
Search instead for 
Did you mean: 

REST-API, getting process instance diagram question

partizano
Champ in-the-making
Champ in-the-making
Hi, Activiti Team!

I am trying to get process instance diagram by REST-API (http://localhost:8080/activiti-rest/service/processInstance/80910/diagram)… My request has the following headers:
Host   localhost:8080User-Agent   Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0Accept   text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language   ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3Accept-Encoding   gzip, deflateAccept-Charset   windows-1251,utf-8;q=0.7,*;q=0.7Connection   keep-aliveAuthorization   Basic a2VybWl0Omtlcm1pdA==Content-Type   image/pngReferer   http://localhost:8080/loan_app/‍‍‍‍‍‍‍‍‍‍

The response from the server has the following headers:
Date   Tue, 22 Nov 2011 07:01:40 GMTAccept-Ranges   bytesServer   Restlet-Framework/2.0.8Vary   Accept-Charset, Accept-Encoding, Accept-Language, AcceptContent-Type   application/jsonTransfer-Encoding   chunked‍‍‍‍‍‍

As your can see, Content-Type of the response is "application/json", although the server must return image data. It is bug or not? Or am I doing somethin wrong?
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Hi,

Right, that's not correct. I'll look into it.

Best regards,

partizano
Champ in-the-making
Champ in-the-making
Tell please, when it would be fixed… Smiley Happy