User Tools

Site Tools


userspace:json-rpc_angularjs

This is an old revision of the document!


Yet another method of reading the JSON-RPC interface.

The example below reads the result of the latest softwareAudit and displays it as a table. Information about installed sw products are merged in.

All needed files (.html, .js, .css) should be hosted below /usr/share/opsiconfd/static/AngularExample folder thus avoiding cross scripting complaints of modern browsers.

The location would then read https://opsi:4447/AngularExample.

Minor Obstacles

configed will currently answer /rpc? requests with Encoding “deflate”, but will anounce it as “gzip”. This issue is known and a patch is mentioned in the forums.

userspace/json-rpc_angularjs.1430404714.txt.gz · Last modified: 2021/08/23 08:37 (external edit)