lwp-request: removed unnecessary usage of cat (#4989)
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
- Upload a file with a POST request:
|
- 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:
|
- Make a request with a custom user agent:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user