2023-10-07 22:33:08 +01:00
|
|
|
POST http://localhost:3001/api
|
|
|
|
Authorization: Bearer uk1_1HaQRETls-E5KlhB6yCtf8WJRW57KwFMuKkya-Tj
|
|
|
|
Content-Type: application/json
|
|
|
|
|
|
|
|
{
|
|
|
|
"action": "getPushExample",
|
2023-10-08 01:17:03 +01:00
|
|
|
"params": {
|
|
|
|
"language": "javascript-fetch"
|
|
|
|
}
|
2023-10-07 22:33:08 +01:00
|
|
|
}
|
2023-10-08 01:17:03 +01:00
|
|
|
|
|
|
|
###
|
|
|
|
POST http://localhost:3001/api
|
|
|
|
Authorization: Bearer uk1_1HaQRETls-E5KlhB6yCtf8WJRW57KwFMuKkya-Tj
|
|
|
|
Content-Type: application/json
|
|
|
|
|
|
|
|
{
|
|
|
|
"action": "checkApprise"
|
|
|
|
}
|
|
|
|
|
2023-10-07 22:33:08 +01:00
|
|
|
###
|
2023-10-08 01:17:03 +01:00
|
|
|
POST http://localhost:3001/api
|
|
|
|
Authorization: Bearer uk1_1HaQRETls-E5KlhB6yCtf8WJRW57KwFMuKkya-Tj
|
|
|
|
Content-Type: application/json
|
|
|
|
|
|
|
|
{
|
|
|
|
"action": "getSettings"
|
|
|
|
}
|
|
|
|
|
|
|
|
###
|
|
|
|
POST http://localhost:3001/api
|
|
|
|
Authorization: Bearer uk1_1HaQRETls-E5KlhB6yCtf8WJRW57KwFMuKkya-Tj
|
|
|
|
Content-Type: application/json
|
|
|
|
|
|
|
|
{
|
|
|
|
"action": "changePassword",
|
|
|
|
"params": {
|
|
|
|
"password": {
|
|
|
|
"currentPassword": "123456",
|
|
|
|
"newPassword": "1sfdsf234567"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|