mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
change body and header placeholders, less misleading.
This commit is contained in:
parent
d578300104
commit
c9549c0de2
1 changed files with 8 additions and 2 deletions
|
@ -340,11 +340,17 @@ export default {
|
|||
},
|
||||
|
||||
bodyPlaceholder() {
|
||||
return "{\n\t\"id\": 124357,\n\t\"username\": \"admin\",\n\t\"password\": \"myAdminPassword\"\n}";
|
||||
return `Example:
|
||||
{
|
||||
"key": "value"
|
||||
}`;
|
||||
},
|
||||
|
||||
headersPlaceholder() {
|
||||
return "{\n\t\"Authorization\": \"Bearer abc123\",\n\t\"Content-Type\": \"application/json\"\n}";
|
||||
return `Example:
|
||||
{
|
||||
"HeaderName": "HeaderValue"
|
||||
}`;
|
||||
}
|
||||
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue