This commit is contained in:
Justin Tisdale
2022-08-11 21:08:13 -04:00
parent 0d58526f25
commit 31cc328839
2 changed files with 2 additions and 2 deletions

View File

@@ -252,7 +252,7 @@ class Monitor extends BeanModel {
let bodyValue = null;
let contentType = null;
if (this.body && !this.httpBodyEncoding || this.httpBodyEncoding === "json"){
if (this.body && !this.httpBodyEncoding || this.httpBodyEncoding === "json") {
bodyValue = JSON.parse(this.body);
contentType = "application/json";
} else if (this.body && (this.httpBodyEncoding === "xml")) {