暂无描述
Authorization: Bearer ********************
{
"type":1, // 1:单选,2:多选,3:判断,4:填空,5:简答
"questionType":2,
"title":"这是一个单选",
"options":{
"choice":[
{
"label":"选项1",
"value":"选项内容"
}
],
"correctChoice":[
{
"label":"空格1"
},
{
"label":"空格2"
}
],
"explain":"这里是题目解析"
}
}
curl --location --request POST 'https://api.tolink.cloud/training/question/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"type":1, // 1:单选,2:多选,3:判断,4:填空,5:简答
"questionType":2,
"title":"这是一个单选",
"options":{
"choice":[
{
"label":"选项1",
"value":"选项内容"
}
],
"correctChoice":[
{
"label":"空格1"
},
{
"label":"空格2"
}
],
"explain":"这里是题目解析"
}
}'
{}