mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
lwp-request: removed unnecessary usage of cat (#4989)
This commit is contained in:
parent
96f5f20498
commit
b20e80a60f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue