mirror of
https://github.com/trimstray/the-book-of-secret-knowledge.git
synced 2024-12-18 04:04:41 -05:00
fix for httpie one-liners
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
parent
c9b39b8ba0
commit
741d1253ff
@ -2463,16 +2463,15 @@ http -p Hh https://www.google.com
|
|||||||
* `b` - response body
|
* `b` - response body
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
http -p Hh --follow --max-redirects 5 --verify no https://www.google.com
|
http -p Hh https://www.google.com --follow --verify no
|
||||||
```
|
```
|
||||||
|
|
||||||
* `-F, --follow` - follow redirects
|
* `-F, --follow` - follow redirects
|
||||||
* `--max-redirects N` - maximum for `--follow`
|
|
||||||
* `--verify no` - skip SSL verification
|
* `--verify no` - skip SSL verification
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
http -p Hh --follow --max-redirects 5 --verify no \
|
http -p Hh https://www.google.com --follow --verify no \
|
||||||
--proxy http:http://127.0.0.1:16379 https://www.google.com
|
--proxy http:http://127.0.0.1:16379
|
||||||
```
|
```
|
||||||
|
|
||||||
* `--proxy [http:]` - set proxy server
|
* `--proxy [http:]` - set proxy server
|
||||||
|
Loading…
Reference in New Issue
Block a user