curlie icon indicating copy to clipboard operation
curlie copied to clipboard

Feature request: file embedding (@file and =@file and :=@file)

Open r-bar opened this issue 3 years ago • 0 comments

It would be great to support the file embedding syntax from httpie. From the httpie docs:

      '@' Form file fields (only with --form or --multipart):

          cv@~/Documents/CV.pdf
          cv@'~/Documents/CV.pdf;type=application/pdf'

      '=@' A data field like '=', but takes a file path and embeds its content:

           essay=@Documents/essay.txt

      ':=@' A raw JSON field like ':=', but takes a file path and embeds its content:

          package:=@./package.json

r-bar avatar Mar 09 '21 20:03 r-bar