This package can be used to implement REST based Web services.
There is a server class that can retrieve the Web service function being called and the respective parameters from the HTTP request and calls given user defined functions or a class previously registered to handle the Web service function calls.
The called function return values are encoded in the JSON format before they are returned to the client.
A separate class can take the class, function and parameters the client script wants to call, sends an HTTP request to the server to perform the Web service call and retrieves and decodes the return value.
Both client and server class support sending and receiving authentication parameters to restrict the users that can call the exposed Web services.
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
|
Files |
|