curl: edit page (#13311)

This commit is contained in:
Fazle Arefin
2024-07-28 07:17:12 +10:00
committed by GitHub
parent 04469e66fa
commit f300fc459d

View File

@@ -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}}`