From 3813717bf09465c534d514e7c21e2a0c6c9e922a Mon Sep 17 00:00:00 2001 From: Yuri Slobodyanyuk Date: Fri, 18 Mar 2022 17:30:50 +0200 Subject: [PATCH] Fixing curl cookbook --- cheat-sheets/curl-cookbook-of-examples.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cheat-sheets/curl-cookbook-of-examples.adoc b/cheat-sheets/curl-cookbook-of-examples.adoc index a2744d5..2e7fe8f 100644 --- a/cheat-sheets/curl-cookbook-of-examples.adoc +++ b/cheat-sheets/curl-cookbook-of-examples.adoc @@ -146,7 +146,8 @@ place IP address to query for is `bulk_paste`. In curl you specify field values with `-F 'name=value'` option: ---- -curl -s -X POST -F 'action=do_whois' -F 'family=ipv4' -F 'method_whois=whois' -F 'bulk_paste=35.1.33.192' -F 'submit_paste=Submit' https://asn.cymru.com/cgi-bin/whois.cgi | grep "|" +curl -s -X POST -F 'action=do_whois' -F 'family=ipv4' -F 'method_whois=whois' \ + -F 'bulk_paste=35.1.33.192' -F 'submit_paste=Submit' https://asn.cymru.com/cgi-bin/whois.cgi | grep "|" ---- Output: