[GH-ISSUE #2004] [bug]: Importing cURL with --url does not work #651

Closed
opened 2026-03-16 16:31:17 +03:00 by kerem · 1 comment
Owner

Originally created by @RihanArfan on GitHub (Dec 10, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2004

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I try and import a cURL request which uses --url, Hoppscotch fails to import it. This format is what's used by Insomnia when copying a request as cURL.

Steps to reproduce

Import cURL with Send (dropdown) -> Import cURL

curl --request POST \
  --url http://localhost:3000/auth/login \
  --header 'Content-Type: application/json' \
  --data '{
	"email": "example@example.com",
	"password": "password"
}'

Environment

Production

Version

Cloud

Originally created by @RihanArfan on GitHub (Dec 10, 2021). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2004 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When I try and import a cURL request which uses --url, Hoppscotch fails to import it. This format is what's used by Insomnia when copying a request as cURL. ### Steps to reproduce Import cURL with Send (dropdown) -> Import cURL ```bash curl --request POST \ --url http://localhost:3000/auth/login \ --header 'Content-Type: application/json' \ --data '{ "email": "example@example.com", "password": "password" }' ``` ### Environment Production ### Version Cloud
kerem 2026-03-16 16:31:17 +03:00
Author
Owner

@liyasthomas commented on GitHub (Dec 10, 2021):

Merging this issue with an existing similar issue: #927.

<!-- gh-comment-id:990640982 --> @liyasthomas commented on GitHub (Dec 10, 2021): Merging this issue with an existing similar issue: #927.
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#651
No description provided.