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
fix: postman import does not force the protocol if not specified, fixes #2208
Andrew Bastin01f46e51583e
diff --git a/packages/hoppscotch-app/helpers/import-export/import/postman.ts b/packages/hoppscotch-app/helpers/import-export/import/postman.tsindex 07e291787..058637734 100644--- a/packages/hoppscotch-app/helpers/import-export/import/postman.ts+++ b/packages/hoppscotch-app/helpers/import-export/import/postman.ts@@ -262,7 +262,7 @@ const getHoppReqBody = (item: Item): HoppRESTReqBody => {const getHoppReqURL = (item: Item): string =>pipe(- item.request.url.toString(true),+ item.request.url.toString(false),S.replace(/\?.+/g, ""),replacePMVarTemplating)