Skip to content

Convert the cURL incorrectly which contains single quotes #793

Open
@xiaomocqk

Description

@xiaomocqk

Describe the bug
Convert the cURL incorrectly which contains single quotes through importing

To Reproduce
Click "Import" button > click "cURL" > paste the curl bellow, and then we can found that the request body was cut
curl --location 'http://xxx' \ --header 'Content-Type: application/json' \ --data '{ "input": "I'\''m good" }'

Expected code snippet and corresponding request
Convert to a correct request body

Screenshots
Image

Additional context
postman-for-vscode version: 1.11.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions