Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

:bug: Hotfix: Enable RAW body for `JSON` `Content-Type`

Liyas Thomasb14adc29f521
diff --git a/pages/index.vue b/pages/index.vue
index e59cc6b65..c3bdee4b0 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1544,7 +1544,11 @@ export default {
"text/plain",
],
canListParameters() {
- return this.contentType === "application/x-www-form-urlencoded"
+ return [
+ "application/json",
+ "application/hal+json",
+ "application/x-www-form-urlencoded",
+ ].includes(this.contentType)
},
uri: {
get() {