We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55a424b commit 60966abCopy full SHA for 60966ab
apps/execution-service/README.md
@@ -106,6 +106,21 @@ The following json format will be returned:
106
]
107
```
108
109
+`POST /tests`
110
+
111
+To create a new test case, run the following command:
112
113
+```bash
114
+curl -X POST http://localhost:8083/tests \
115
+-H "Content-Type: application/json" \
116
+-d '{
117
+"questionDocRefId": "sampleDocRefId123",
118
+"questionTitle": "Sample Question Title",
119
+"visibleTestCases": "2\nhello\nolleh\nHannah\nhannaH",
120
+"hiddenTestCases": "2\nHannah\nhannaH\nabcdefg\ngfedcba"
121
+}'
122
+```
123
124
`POST /tests/{questionDocRefId}/execute`
125
126
To execute test cases via a question ID without custom test cases, run the following command, with custom code and language:
0 commit comments