curl: edit page (#13311)

pull/28/head
Fazle Arefin 2024-07-28 07:17:12 +10:00 committed by GitHub
parent 04469e66fa
commit f300fc459d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -32,6 +32,6 @@
`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}}`