[GH-ISSUE #5216] [bug]: Import cURL always fails #1991

Open
opened 2026-03-16 22:46:48 +03:00 by kerem · 1 comment
Owner

Originally created by @Wang-Jun-Chao on GitHub (Jul 2, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5216

Is there an existing issue for this?

  • I have searched existing issues and this bug hasn't been reported yet

Platform

Web App

Browser

Chrome

Operating System

Windows

Bug Description

hoppscotch cURL is not formatted properly error

curl --location 'https://host/kg-chat/chat' \
--header 'access-time: 1751435171000' \
--header 'appId: aaa' \
--header 'businessId: xxx' \
--header 'token: abcddsss' \
--header 'Content-Type: application/json' \
--data '{
    "space": "product",
    "version": "default",
    "query": "some query",
    "markdown_text_flag": true,
    "summary_text_flag": false,
    "ngql_flag": true,
    "stream_type": "stream"
}'

Image

Deployment Type

Self-hosted (on-prem deployment)

Version

2025.6.0

Originally created by @Wang-Jun-Chao on GitHub (Jul 2, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5216 ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Platform Web App ### Browser Chrome ### Operating System Windows ### Bug Description hoppscotch cURL is not formatted properly error ``` curl --location 'https://host/kg-chat/chat' \ --header 'access-time: 1751435171000' \ --header 'appId: aaa' \ --header 'businessId: xxx' \ --header 'token: abcddsss' \ --header 'Content-Type: application/json' \ --data '{ "space": "product", "version": "default", "query": "some query", "markdown_text_flag": true, "summary_text_flag": false, "ngql_flag": true, "stream_type": "stream" }' ``` ![Image](https://github.com/user-attachments/assets/f75c181b-8481-4dec-afa0-1aa156b5a2e9) ### Deployment Type Self-hosted (on-prem deployment) ### Version 2025.6.0
Author
Owner

@shuaixr commented on GitHub (Jul 17, 2025):

@AndrewBastin , I would like to work on this

<!-- gh-comment-id:3082641053 --> @shuaixr commented on GitHub (Jul 17, 2025): @AndrewBastin , I would like to work on this
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#1991
No description provided.