Merge branch 'feature/add-support-for-method-body-and-headers'

pull/715/head
Louis Lam 3 years ago
commit f4b8da0a5c

@ -467,6 +467,15 @@ export default {
return;
}
// Beautiful the JSON format
if (this.monitor.body) {
this.monitor.body = JSON.stringify(JSON.parse(this.monitor.body), null, 4);
}
if (this.monitor.headers) {
this.monitor.headers = JSON.stringify(JSON.parse(this.monitor.headers), null, 4);
}
if (this.isAdd) {
this.$root.add(this.monitor, async (res) => {

Loading…
Cancel
Save