|
|
@ -257,10 +257,7 @@ class Monitor extends BeanModel {
|
|
|
|
contentType = "application/json";
|
|
|
|
contentType = "application/json";
|
|
|
|
} else if (this.body && (this.httpBodyEncoding === "xml")) {
|
|
|
|
} else if (this.body && (this.httpBodyEncoding === "xml")) {
|
|
|
|
bodyValue = this.body;
|
|
|
|
bodyValue = this.body;
|
|
|
|
contentType = "text/xml";
|
|
|
|
contentType = "text/xml; charset=utf-8";
|
|
|
|
} else if (this.body && (this.httpBodyEncoding === "form")) {
|
|
|
|
|
|
|
|
bodyValue = this.body;
|
|
|
|
|
|
|
|
contentType = "application/x-www-form-urlencoded";
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const options = {
|
|
|
|
const options = {
|
|
|
|