Open fskexp opened 4 months ago
@fskexp i have submited a solution on a PR to this, if you can review maybe can be merged soon
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?
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: