uptime-kuma/test/api.http

44 lines
870 B
Text
Raw Normal View History

2023-10-07 21:33:08 +00:00
POST http://localhost:3001/api
Authorization: Bearer uk1_1HaQRETls-E5KlhB6yCtf8WJRW57KwFMuKkya-Tj
Content-Type: application/json
{
"action": "getPushExample",
2023-10-08 00:17:03 +00:00
"params": {
"language": "javascript-fetch"
}
2023-10-07 21:33:08 +00:00
}
2023-10-08 00:17:03 +00:00
###
POST http://localhost:3001/api
Authorization: Bearer uk1_1HaQRETls-E5KlhB6yCtf8WJRW57KwFMuKkya-Tj
Content-Type: application/json
{
"action": "checkApprise"
}
2023-10-07 21:33:08 +00:00
###
2023-10-08 00:17:03 +00: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"
}
}
}