I am teaching a E-commerce module with PHP.
I would like to set up the web-service type question. It means the students' answer would be a web service (PHP file) which can process the GET and POST request.
The testcase would send the GET and POST request and the output would be result in json format.
Some rough idea is as:
In another post, I see with there is an internal webserver with the sandbox like the address "http://localhost/jobe/index.php/restapi/languages". So, if the students' answer has such an address, it would be possible.
Ping @ Xi'an Jiaotong Liverpool University