mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 08:42:08 +02:00
curl: edit page (#13311)
This commit is contained in:
parent
04469e66fa
commit
f300fc459d
1 changed files with 2 additions and 2 deletions
|
@ -32,6 +32,6 @@
|
||||||
|
|
||||||
`curl --cert {{client.pem}} --key {{key.pem}} --insecure {{https://example.com}}`
|
`curl --cert {{client.pem}} --key {{key.pem}} --insecure {{https://example.com}}`
|
||||||
|
|
||||||
- Resolve a hostname to a custom IP address (similar to editing the `/etc/hosts` file for custom DNS resolution):
|
- Resolve a hostname to a custom IP address, with [v]erbose output (similar to editing the `/etc/hosts` file for custom DNS resolution):
|
||||||
|
|
||||||
`curl --resolve {{example.com}}:{{80}}:{{127.0.0.1}} {{http://example.com}}`
|
`curl --verbose --resolve {{example.com}}:{{80}}:{{127.0.0.1}} {{http://example.com}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue