1
0
Fork 0
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:
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

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