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
:bug: Fixed a typo which broke cURL import feature
Liyas Thomas95eb7b86c9b0
diff --git a/pages/index.vue b/pages/index.vueindex dc61e9b7c..5cb8cb8c3 100644--- a/pages/index.vue+++ b/pages/index.vue@@ -642,7 +642,7 @@requestString.push(" -H 'Content-Type: " + this.contentType + "; charset=utf-8' \\\n")requestString.push(" -d '" + requestBody + "' \\\n")}- return requestString.join('').slice(0, -4);+ return requestString.join('').slice(0, -3);}}},