Browse Source

change body and header placeholders, less misleading.

pull/788/head
Louis Lam 3 years ago
parent
commit
c9549c0de2
  1. 10
      src/pages/EditMonitor.vue

10
src/pages/EditMonitor.vue

@ -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…
Cancel
Save