上报数据
POST
/myauth/soft/upData
请求参数
Body 参数application/json
data
object
必需
type
string
上报类型
content
string
上报内容
device_info
string
必需
device_code
string
必需
timestamp
string
必需
skey
string
必需
vkey
string
必需
sign
string
必需
示例
{
"data": {
"type": "按时",
"content": "阿萨德阿萨德按时都",
"device_info": "windows 10",
"device_code": "5A79565CC85400F0",
"timestamp": "1642751466"
},
"skey": "7c580b6e-56fc-41ac-953c-8b6896e26eb1",
"vkey": "asd123",
"sign": "caa040e78c197ea5b59bb5a3218ce080"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/myauth/soft/upData' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"type": "按时",
"content": "阿萨德阿萨德按时都",
"device_info": "windows 10",
"device_code": "5A79565CC85400F0",
"timestamp": "1642751466"
},
"skey": "7c580b6e-56fc-41ac-953c-8b6896e26eb1",
"vkey": "asd123",
"sign": "caa040e78c197ea5b59bb5a3218ce080"
}'
返回响应
🟢200成功
application/json
Body
code
integer
示例:200
success
boolean