You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This request has been copied from Chrome dev tools and inserted as is
cat | hurlfmt --in curl
curl 'https://hurl.dev/assets/css/styles.css?de3a9b0' \
-H 'sec-ch-ua-platform: "macOS"' \
-H 'Referer: https://hurl.dev/docs/frequently-asked-questions.html' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0' \
-H 'sec-ch-ua: "Microsoft Edge";v="131", "Chromium";v="131", "Not_A Brand";v="24"' \
-H 'sec-ch-ua-mobile: ?0'
error: Can not parse curl command at line 1: Invalid escape at column 56
Steps to reproduce
Format curl command where args are separated by new lines with newline character escaped with \.
What is the expected correct behavior?
I want hurlfmt to be able to format commands without modifications.
Execution context
Hurl Version (hurl --version):
hurlfmt --version
hurlfmt 6.0.0
Possible fixes
The text was updated successfully, but these errors were encountered:
What is the current bug behavior?
Steps to reproduce
Format curl command where args are separated by new lines with newline character escaped with
\
.What is the expected correct behavior?
I want hurlfmt to be able to format commands without modifications.
Execution context
hurl --version
):hurlfmt --version
hurlfmt 6.0.0
Possible fixes
The text was updated successfully, but these errors were encountered: