New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generating curl snippet for file in multi-part: missing @ #2224
Labels
bug
Something isn't working
Comments
leoferreiralima
pushed a commit
to leoferreiralima/bruno
that referenced
this issue
May 3, 2024
…generate to curl map fileName property fixes usebruno#2224
5 tasks
leoferreiralima
pushed a commit
to leoferreiralima/bruno
that referenced
this issue
May 3, 2024
…generate to curl map fileName property fixes usebruno#2224
@fskexp i have submited a solution on a PR to this, if you can review maybe can be merged soon |
leoferreiralima
added a commit
to leoferreiralima/bruno
that referenced
this issue
May 3, 2024
…generate to curl map fileName property fixes usebruno#2224
Hi, it looks good for me. I verified that in the httpsnippets library the @ is added if the parameter is ‘fileName‘ |
@Fabiensk exactly, I have added this rule on my PR, can you review please? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have checked the following:
Describe the bug
Generate Code
Shell-Curl
--form file-param=/tmp/data.txt
. Instead, it should be--form file-param=@/tmp/data.txt
so curl uses the content of the designated file..bru file to reproduce the bug
Screenshots/Live demo link
Without the
@
(current behaviour), the request (as intercepted by a proxy) will contain the path of the fileIf a
@
is manually added, then the content of the file is sent:The text was updated successfully, but these errors were encountered: