Thank you for your response, yes when hitting this url directly in my browser, it renders me the first page of my pdf file as a picture (thumbnail).
Edit : it seems that i'm getting a bit further today, the share WebScript now renders the binary characters from the image, i suppose i just need to specify the appropriate output content-tpye (image/png in this case). How can i achieve that ? Thanks
What give you the idea that the response format is Json ? (it fails when i try an eval on it) What i receive from the backend alfresco webscript seems to be a stream to the png image. So i just need to render this stream to the browser but i presume my freemarker template 'test.get.html.ftl' is not appropriate since it's not html.