-
Notifications
You must be signed in to change notification settings - Fork 0
Tester API
halida edited this page Mar 2, 2013
·
7 revisions
This is the tester api for run tests.
TOKEN
is the secret to identify tester authority. current is asdfrewq
.
POST http://$SERVER/solutions/tester_get?token=$TOKEN
result:
{
code: "...", // source code
language: "..", // python/java/...
input: "...", // stdin
output: "...", // expected stdout
solution_token: "...", // used to identify solution
}
POST http://$SERVER/solutions/tester_set?token=$TOKEN
Send form data: solution_token, status, result
.