[GH-ISSUE #1160] Import cURL fails for single line commands #402

Closed
opened 2026-03-16 15:07:39 +03:00 by kerem · 1 comment
Owner

Originally created by @arjun-1 on GitHub (Sep 11, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1160

Description

Import cURL fails for single line commands

To Reproduce

Steps to reproduce the behavior:

  1. Go to hoppscotch.io
  2. Click on 'import cURL'
  3. Paste
curl -X GET 'https://hoppscotch.io/'
  1. Click 'Import'
  2. See error 'cURL is not formatted properly

Expected behavior

Import of valid cURL should succeed

Desktop

  • OS: Ubuntu 18.04.5 LTS
  • Browser: Chrome
  • Version: 85.0.4183.102
Originally created by @arjun-1 on GitHub (Sep 11, 2020). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1160 ## Description Import cURL fails for single line commands ## To Reproduce Steps to reproduce the behavior: 1. Go to hoppscotch.io 2. Click on 'import cURL' 3. Paste ``` curl -X GET 'https://hoppscotch.io/' ``` 4. Click 'Import' 4. See error 'cURL is not formatted properly ## Expected behavior Import of valid cURL should succeed ## Desktop - OS: Ubuntu 18.04.5 LTS - Browser: Chrome - Version: 85.0.4183.102
kerem closed this issue 2026-03-16 15:07:45 +03:00
Author
Owner

@liyasthomas commented on GitHub (Sep 11, 2020):

Oops, working on a fix.

Do update this issue for any other issues regarding cURL import feature — no need for seperate issues.

<!-- gh-comment-id:691102920 --> @liyasthomas commented on GitHub (Sep 11, 2020): Oops, working on a fix. Do update this issue for any other issues regarding cURL import feature — no need for seperate issues.
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#402
No description provided.