创建考试
POST
http://vendor.com/creat
为了安全性,请验证time的实效性,建议5分钟内有效。
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://vendor.com/creat?appId=E8iWPLYYQq8dB5Lu3PEbTQwYLlyzaVOu&clientId=9734f2bc-beff-4439-9497-0aa11fcc932c&time=1547100372&sign=08b6a2f880c697bdee9b6069cbed81ceb7300ea4' \
--header 'Content-Type: application/json' \
--data-raw '{"id": "9734f2bc-beff-4439-9497-0aa11fcc932c","event": "createExam","triggeredAt": 1547100372,"data": {"test": true}}'
响应示例响应示例
{
"applicationId": 0,
"url": "string",
"name": "string",
"password": "string"
}
请求参数
Query 参数
appId
必需
示例值:
E8iWPLYYQq8dB5Lu3PEbTQwYLlyzaVOu
clientId
必需
示例值:
9734f2bc-beff-4439-9497-0aa11fcc932c
time
当前时间戳
示例值:
1547100372
sign
必需
示例值:
08b6a2f880c697bdee9b6069cbed81ceb7300ea4
Header 参数
Content-Type
必需
示例值:
application/json
Body 参数application/json
返回响应
修改于 2021-12-30 06:25:32