aboutsummaryrefslogtreecommitdiff
path: root/_www/http_target.js
diff options
context:
space:
mode:
Diffstat (limited to '_www/http_target.js')
-rw-r--r--_www/http_target.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/_www/http_target.js b/_www/http_target.js
index 2177a64..965dd20 100644
--- a/_www/http_target.js
+++ b/_www/http_target.js
@@ -192,7 +192,7 @@ export class HTTPTarget {
parent.appendChild(wrapper);
}
generateRequestParameters(parent) {
- if (!this.opts.Params || this.opts.WithRawBody) {
+ if (!this.opts.Params) {
return;
}
if (Object.keys(this.opts.Params).length === 0) {
@@ -219,7 +219,7 @@ export class HTTPTarget {
title.innerText = "Raw request body";
wrapper.appendChild(title);
const elRawbody = document.createElement("textarea");
- elRawbody.innerText = this.opts.RawBody;
+ elRawbody.innerText = atob(this.opts.RawBody);
elRawbody.style.width = "100%";
elRawbody.style.boxSizing = "border-box";
elRawbody.style.height = "10em";