Skip to content

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

Update pages/index.vue

Liyas Thomas89f552872ca8
diff --git a/pages/index.vue b/pages/index.vue
index 6138d41c9..971f20855 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1897,7 +1897,7 @@ export default {
requestString.push(` -H 'Content-Type: ${this.contentType}; charset=utf-8'`)
requestString.push(` -d '${requestBody}'`)
}
- return requestString.join(" \n")
+ return requestString.join(" \\\n")
}
},
tokenReqDetails() {