1
0
Fork 0
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:
Juri 2020-11-30 13:06:12 +01:00 committed by GitHub
parent 96f5f20498
commit b20e80a60f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: