You can send POST requests, with --method=POST.
Multipart bodies are not, and will probably never be, supported in wget.
There is ongoing work to implementing them in wget2, however [0]. You
might want to check it out.
Having said this, in wget you can send the contents of a file as a body
$ http --form POST localhost:9000 f...@1.txt
The above httpie (https://httpie.org/) command will send the following
POST request. Could anybody let me know what is the equivalent wget
command to achieve the same HTTP request? Thanks.
POST / HTTP/1.1
Host: localhost:9000
User-Agent: HTTPie/2.2.0