diff options
| author | michael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2010-06-03 15:23:47 +0000 |
|---|---|---|
| committer | michael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2010-06-03 15:23:47 +0000 |
| commit | a08299bbbf685fa41932928b7f40ba43a80f0b59 (patch) | |
| tree | 977da3a48ac4a7afb921e6a726b344af5b816176 /packages/fcl-web/examples/jsonrpc | |
| parent | d451ff628f22ff435bf06958b8c123d880ef432b (diff) | |
| download | fpc-a08299bbbf685fa41932928b7f40ba43a80f0b59.tar.gz | |
* Added some test instructions
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@15362 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/fcl-web/examples/jsonrpc')
| -rw-r--r-- | packages/fcl-web/examples/jsonrpc/demo1/README.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/fcl-web/examples/jsonrpc/demo1/README.txt b/packages/fcl-web/examples/jsonrpc/demo1/README.txt new file mode 100644 index 0000000000..f3ba77f5e8 --- /dev/null +++ b/packages/fcl-web/examples/jsonrpc/demo1/README.txt @@ -0,0 +1,21 @@ + +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 |
