blackberry-webworks/BBX-Framework — comment on commit 511c90937bba7fc2cc92361a79ba8b5a67b4fc27
File: lib/plugins/example.js line 8
By gtanner:

This is an example module, they will be exposed as URI's like:

http://localhost:4567/{file_name}/{method_name}

Called via POST calls that have the arguments in the post data.

Will return the standard JSON response like:

{ code: 1, data: "foo", msg: "error message"}

Exactly like the current URI type APIs in webworks.

Attempts to call plugins that are not in this folder will result in a 404 error.