maerest
This app only implements one REST API call, which echoes the call and payload back to the caller. However, it serves as a prototype - as a starting point - for a REST API daemon for a software developer.
None.
None.
The following messages may be received on the maerest channel.
MsgTag |
Description |
userstart |
Initiate a new user session. |
rest-call |
Handle a page request. device - end-user's device appmode - Name of appmode, likely the app's name. All URL's for //site/appmode/ will trigger a message using action below submodes - - parts (in sequence) of the URL request (between the slashes) method - type of user request, e.g. GET, POST, PUT, DELETE conntype - type of behavior to remote client: Ux (asynchronous user experience in browser), Direct (synchronous query gets synchronous response), Pipe (streamed data from remote connection is fed to app by line or binary block) params - key/value pairs of values provided in the request (whether in URL or POST form-data) content - any content provided with request |