There is an option to use "raw" data from any service configured in ConfiDoc

The resulting response depends much on a content you request: might be image, some binary or text/html file, or a JSON (standard way to represent structured data in ConfiDoc)

ConfiDoc has a convenient proxy service for you to use. The url for the proxy is visible in ConfiDoc configurations:

The selected proxy link has one parameter (NR) defined and looks like this:

http://YOUR_SERVER/confluence/plugins/servlet/confidoc/fetcher?serviceId=cd4a5707-c3f0-4fce-b67f-4126d6a74ab1&apm;params=[NR]<value>;

To use it directly you will need to replace the <value> with actual value

http://YOUR_SERVER/confluence/plugins/servlet/confidoc/fetcher?serviceId=dae4d42b-c2b8-4d59-b928-91000b10ceae&params=[NR]CONF-36424;

The resulting response in our case is the JSON, generated by JIRA REST API (as our service uses REST API endpoint and the the content served by this endpoint is of type JSON)