michael 951c475e62 * Added some test instructions 15 năm trước cách đây
..
README.txt 951c475e62 * Added some test instructions 15 năm trước cách đây
demo.lpi 3d414fe91b * json-rpc examples, and compile it as well 15 năm trước cách đây
demo.lpr 3d414fe91b * json-rpc examples, and compile it as well 15 năm trước cách đây
echo.in 3d414fe91b * json-rpc examples, and compile it as well 15 năm trước cách đây
echobatch.in 3d414fe91b * json-rpc examples, and compile it as well 15 năm trước cách đây
extdirect.in 3d414fe91b * json-rpc examples, and compile it as well 15 năm trước cách đây
notification.in 3d414fe91b * json-rpc examples, and compile it as well 15 năm trước cách đây
wmdemo.lfm 3d414fe91b * json-rpc examples, and compile it as well 15 năm trước cách đây
wmdemo.lrs 3d414fe91b * json-rpc examples, and compile it as well 15 năm trước cách đây
wmdemo.pp 3d414fe91b * json-rpc examples, and compile it as well 15 năm trước cách đây

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 testcgiapp -i demo -p echo/extdirectapi
testcgiapp -i demo -p echo/content testcgiapp -i demo -p echo/module
The response is printed on standard output.

the testcgiapp application is located in fcl-web/tests