{
"consoleText": "string",
"fileKey": "string",
"methodName": "string",
"needCompileFileKey": [
"string"
],
"outputConsole": true,
"runMode": true
}curl --location '/api/v1/sdk/playgrounds//unitTests/run' \
--header 'tenantCode: demo' \
--header 'userId: 2' \
--header 'nonce: {{nonce}}' \
--header 'timestamp: {{timestamp}}' \
--header 'token: {{token}}' \
--header 'Content-Type: application/json' \
--data '{
"consoleText": "string",
"fileKey": "string",
"methodName": "string",
"needCompileFileKey": [
"string"
],
"outputConsole": true,
"runMode": true
}'{
"data": {
"cmd": "string",
"debug": {
"compile": "string",
"launch": {},
"support": true
},
"runId": "string",
"runMode": true,
"showCmd": "string"
},
"errors": [
{
"errcode": "string",
"errmsg": "string",
"field": "string"
}
],
"status": "failure",
"timestamp": "2019-08-24T14:15:22.123Z"
}