lpsanoy_lenvov f0ec0a6345 上传工具以及库文件 2 år sedan
..
Makefile f0ec0a6345 上传工具以及库文件 2 år sedan
README.md f0ec0a6345 上传工具以及库文件 2 år sedan
appweb.conf f0ec0a6345 上传工具以及库文件 2 år sedan
index.html f0ec0a6345 上传工具以及库文件 2 år sedan
server f0ec0a6345 上传工具以及库文件 2 år sedan
server.c f0ec0a6345 上传工具以及库文件 2 år sedan
start.me f0ec0a6345 上传工具以及库文件 2 år sedan

README.md

Simple Action Sample

This sample shows how to create actions. i.e. Simple bindings from URIs to C functions. The sample contains a main program which initializes the server and registers the required actions.

Requirements

To build:

make

To run:

make run

The server listens on port 8080. Browse to:

 http://localhost:8080/action/myaction
 http://localhost:8080/action/myaction?name=Peter&address=Park+Lane

Notes:

The MyAction will parse the form/query parameters and echo their values back.

Code:

Documentation:

See Also: