Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
Stringify request data - fixes https://github.com/liyasthomas/postwoman/issues/124
NBTXa3acf34b39b1
diff --git a/pages/index.vue b/pages/index.vueindex 0e8df6321..bcaabfbb1 100644--- a/pages/index.vue+++ b/pages/index.vue@@ -412,7 +412,7 @@requestBody = this.rawInput ? this.rawParams : this.rawRequestBody;Object.assign(headers, {- 'Content-Length': requestBody.length,+ //'Content-Length': requestBody.length,'Content-Type': `${this.contentType}; charset=utf-8`});}@@ -437,7 +437,7 @@url: this.url + this.path + this.queryString,auth,headers,- data: requestBody+ data: requestBody.toString()});(() => {