mirror of https://github.com/CrimsonTome/tldr.git
lwp-request: removed unnecessary usage of cat (#4989)
parent
96f5f20498
commit
b20e80a60f
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Upload a file with a POST request:
|
||||
|
||||
`cat {{path/to/file}} | lwp-request -m POST {{http://example.com/some/path}}`
|
||||
`lwp-request -m POST {{http://example.com/some/path}} < {{path/to/file}}`
|
||||
|
||||
- Make a request with a custom user agent:
|
||||
|
||||
|
|
Loading…
Reference in New Issue