Skip to content

hurlfmt convert from curl to hurl, --data-raw is not recognized #4411

@AdmiralRazorbeard

Description

@AdmiralRazorbeard

What is the current bug behavior?

When converting from curl to hurl with --data-rawis not recognized, you have to change --data-raw into --data for the conversion to work

Steps to reproduce

  • Have a file with a curl using --data-raw
  • cat "$curl_file" | hurlfmt --in curl --out hurl > "$hurl_file"

Execution context

  • Hurl Version (hurl --version): hurl 7.0.0

Possible fixes

Right now i'm just doing sed -i 's/--data-raw/--data/g' "$curl_file" as a workaround, it works

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions