[PR #2037] [MERGED] feat: import cURL on paste #3609

Closed
opened 2026-03-17 01:12:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2037
Author: @anwarulislam
Created: 12/22/2021
Status: Merged
Merged: 12/22/2021
Merged by: @AndrewBastin

Base: mainHead: feat/import-curl-onpaste


📝 Commits (3)

  • 1bbae72 feat: import cURL on paste
  • 5672aaa feat: import cURL on paste
  • af68974 feat: pasting cURL command on url field does not paste it in

📊 Changes

4 files changed (+46 additions, -2 deletions)

View changed files

📝 packages/hoppscotch-app/components/http/ImportCurl.vue (+13 -2)
📝 packages/hoppscotch-app/components/http/Request.vue (+24 -0)
📝 packages/hoppscotch-app/components/smart/EnvInput.vue (+4 -0)
📝 packages/hoppscotch-app/helpers/curlparser.ts (+5 -0)

📄 Description

Closes #

Description

I've updated the code which contains the feature: now you can copy a cURL from the network console of the browser or from anywhere and paste it to the URL field then it will automatically recognize the cURL format. And will generate the request.

Checks

  • My pull request adheres to the code style of this project
  • All the tests have passed

Additional Information


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/2037 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 12/22/2021 **Status:** ✅ Merged **Merged:** 12/22/2021 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `feat/import-curl-onpaste` --- ### 📝 Commits (3) - [`1bbae72`](https://github.com/hoppscotch/hoppscotch/commit/1bbae72e977edddc551e491bb0358a033941fe63) feat: import cURL on paste - [`5672aaa`](https://github.com/hoppscotch/hoppscotch/commit/5672aaa46519965fa8eedc038c921c29e05e39f1) feat: import cURL on paste - [`af68974`](https://github.com/hoppscotch/hoppscotch/commit/af68974bffcfe0eda13572c870a5c1ea10ecb71c) feat: pasting cURL command on url field does not paste it in ### 📊 Changes **4 files changed** (+46 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-app/components/http/ImportCurl.vue` (+13 -2) 📝 `packages/hoppscotch-app/components/http/Request.vue` (+24 -0) 📝 `packages/hoppscotch-app/components/smart/EnvInput.vue` (+4 -0) 📝 `packages/hoppscotch-app/helpers/curlparser.ts` (+5 -0) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes # <!-- Issue # here --> ### Description <!-- Add a brief description of the pull request --> I've updated the code which contains the feature: now you can copy a cURL from the network console of the browser or from anywhere and paste it to the URL field then it will automatically recognize the cURL format. And will generate the request. <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [x] Completed --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [x] All the tests have passed ### Additional Information <!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behavior, etc. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:12:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#3609
No description provided.