1 Long: data-binary 2 Arg: <data> 3 Help: HTTP POST binary data 4 Protocols: HTTP 5 Category: http post upload 6 Example: --data-binary @filename $URL 7 Added: 7.2 8 --- 9 This posts data exactly as specified with no extra processing whatsoever. 10 11 If you start the data with the letter @, the rest should be a filename. Data 12 is posted in a similar manner as --data does, except that newlines and 13 carriage returns are preserved and conversions are never done. 14 15 Like --data the default content-type sent to the server is 16 application/x-www-form-urlencoded. If you want the data to be treated as 17 arbitrary binary data by the server then set the content-type to octet-stream: 18 -H "Content-Type: application/octet-stream". 19 20 If this option is used several times, the ones following the first will append 21 data as described in --data. 22