httpmethods icon indicating copy to clipboard operation
httpmethods copied to clipboard

Adding -H/--headers option for custom headers

Open ShutdownRepo opened this issue 4 years ago • 1 comments

Flag to pass custom header(s) to server, just like curl Usage examples

  • -H "header1:value1
  • -H "header1:value1" -H "header2:value2" -H "header3:value3"
  • -H "header1:value1, header2:value2, header3:value3"
  • -H headers.txt

ShutdownRepo avatar Jan 27 '21 10:01 ShutdownRepo

Commit 7c5e70731ac3eadc11f72754fe5665f1967bbbfd brings -b/--cookies <data> option :+1: For this addition, we need to implement the following feature

  • either specify cookies or a file with the -b/--cookies <filename> flag

Moreover, we still need to implement curl-like options

  • -c/--cookie-jar <filename>
  • -H/--header <header|filename>

ShutdownRepo avatar Jan 28 '21 09:01 ShutdownRepo