mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-30 18:24:03 +00:00
43 lines
870 B
HTTP
43 lines
870 B
HTTP
POST http://localhost:3001/api
|
|
Authorization: Bearer uk1_1HaQRETls-E5KlhB6yCtf8WJRW57KwFMuKkya-Tj
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"action": "getPushExample",
|
|
"params": {
|
|
"language": "javascript-fetch"
|
|
}
|
|
}
|
|
|
|
###
|
|
POST http://localhost:3001/api
|
|
Authorization: Bearer uk1_1HaQRETls-E5KlhB6yCtf8WJRW57KwFMuKkya-Tj
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"action": "checkApprise"
|
|
}
|
|
|
|
###
|
|
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"
|
|
}
|
|
}
|
|
}
|