mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-21 21:45:21 -05:00
change body and header placeholders, less misleading.
This commit is contained in:
parent
d578300104
commit
c9549c0de2
@ -340,11 +340,17 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
bodyPlaceholder() {
|
bodyPlaceholder() {
|
||||||
return "{\n\t\"id\": 124357,\n\t\"username\": \"admin\",\n\t\"password\": \"myAdminPassword\"\n}";
|
return `Example:
|
||||||
|
{
|
||||||
|
"key": "value"
|
||||||
|
}`;
|
||||||
},
|
},
|
||||||
|
|
||||||
headersPlaceholder() {
|
headersPlaceholder() {
|
||||||
return "{\n\t\"Authorization\": \"Bearer abc123\",\n\t\"Content-Type\": \"application/json\"\n}";
|
return `Example:
|
||||||
|
{
|
||||||
|
"HeaderName": "HeaderValue"
|
||||||
|
}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user