REST-API, getting process instance diagram question
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2011 02:26 AM
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:
The response from the server has the following headers:
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?
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?
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2011 07:46 AM
Hi,
Right, that's not correct. I'll look into it.
Best regards,
Right, that's not correct. I'll look into it.
Best regards,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2011 04:46 AM
Tell please, when it would be fixed…

