Closed NickA02 closed 2 days ago
Hello everyone. This is the API Endpoint for submission handling and Judge0 connection!
There is one new route: POST submissions/submit
The request takes in the user token header as usual, alongside a JSON Submission, of the form
{ "file_contents": "string", "question_num": "string" }
and returns a ConsoleLog Json of the following form.
{ "console_log": "string" }
This API Route is only accessible for users with active tests.
Also, I propose that from now on we have to include a lil joke in each PR... Here's mine:
Why do space shuttles rely on Unix? you can’t open Windows in space
Agreed on the joke haha
Question Submission
Hello everyone. This is the API Endpoint for submission handling and Judge0 connection!
There is one new route: POST submissions/submit
The request takes in the user token header as usual, alongside a JSON Submission, of the form
and returns a ConsoleLog Json of the following form.
This API Route is only accessible for users with active tests.
Important Proposition
Also, I propose that from now on we have to include a lil joke in each PR... Here's mine:
Why do space shuttles rely on Unix? you can’t open Windows in space