|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2022-10-28 (1 month ago) || 69%||Total: 1,455 This week: 13||All time: 2,678 This week: 30|
This package implements a REST Web service server that maps URL to API calls.
The main class can register one or more objects that will handle API calls. Handler objects must be of classes based on the REST object class.
The main class also dispatches API calls by extracting the handler object name, API call function name and any parameters from the URL.
The return values of the REST object handler functions are returned JSON encoded as responses to the REST requests.
It is a complete simple rest server. To use it, copy files into a document root directory.
Then you can use your browser:
$ curl -u username:password -X POST http://yourserver.com/rest/User/login
http://yourserver.com/rest/[REST OBJECT]/[REST OBJECT METHOD]/[PARAM]/[PARAM]/[PARAM]
File restObjects/rest_User.php is an example how to write your rest objects
||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.