|
|
|
Issue Links:
|
Cloners
|
|
|
|
This issue has a clone:
|
|
MDL-16806
Create test-run REST Webservices to wrap the basic functionalities coded.
|
|
|
|
|
|
|
|
The idea is that this set of functionalities need to be accompanied of a test run application. This simpletest application will be usefull for testing purposes and as sample documentation for developers that whish to use them.
|
|
Description
|
The idea is that this set of functionalities need to be accompanied of a test run application. This simpletest application will be usefull for testing purposes and as sample documentation for developers that whish to use them. |
Show » |
|
http://cvs.moodle.org/contrib/patches/dfws/client/clientrest/
It work just copying directory into public apache dir, edit the "config_rest.php" and set $CFG->serveurl to you moodle webservice rest connector url.
For example, if you moodle url is:
http://localhost/moodle
the $CFG->serverurl must be:
$CFG->serverurl = 'http://localhost/moodle/webservice/inout/rest/inout.php';
That's all!
For daredevils only!
We will keep this example updated to test every API functionality.