marco 1895259c24 --- Merging r23210 into '.': 12 lat temu
..
README.txt 1895259c24 --- Merging r23210 into '.': 12 lat temu
demo.lpi 86a5871ba4 * Lazarus is no longer needed for the examples 14 lat temu
demo.lpr 86a5871ba4 * Lazarus is no longer needed for the examples 14 lat temu
echo.in 3d414fe91b * json-rpc examples, and compile it as well 15 lat temu
echobatch.in 3d414fe91b * json-rpc examples, and compile it as well 15 lat temu
extdirect.in 3d414fe91b * json-rpc examples, and compile it as well 15 lat temu
notification.in 3d414fe91b * json-rpc examples, and compile it as well 15 lat temu
wmdemo.lfm 3d414fe91b * json-rpc examples, and compile it as well 15 lat temu
wmdemo.pp 1895259c24 --- Merging r23210 into '.': 12 lat temu

README.txt


This is an example of how to use JSON-RPC.

It requires Lazarus to compile.

The various *.in files are input for JSON-RPC requests.

The application can be tested as follows from the command line:

testcgiapp -i demo -p echo/manual < echo.in
testcgiapp -i demo -p echo/dispatch < echobatch.in
testcgiapp -i demo -p echo/registered < echobatch.in
testcgiapp -i demo -p echo/extdirect < extdirect.in
testcgiapp -i demo -p echo/dispatch < notification.in
testcgiapp -i demo -p echo/extdirectapi
testcgiapp -i demo -p echo/content < echobatch.in
testcgiapp -i demo -p echo/module < echobatch.in

The response is printed on standard output.

The testcgiapp application is located in fcl-web/tests