Details
Description
1. Try to get process instance diagramm by rest-webapp (/activiti-rest/service/processInstance/XXXXX/diagram)
2. After getting the response from server the following error occurs: "JSON.parse: unexpected character".
If you will look at response header 'Content-Type', you will see that it's value is 'application/json', but must be 'image/png'.
http://forums.activiti.org/en/viewtopic.php?f=6&t=3008 - related topic