]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
MANUAL.md: change domain to example.com
authorJohn Haugabook <johnhaugabook@gmail.com>
Sat, 16 Sep 2023 00:36:21 +0000 (20:36 -0400)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 16 Sep 2023 21:36:45 +0000 (23:36 +0200)
Closes #11866

docs/MANUAL.md

index 9c1b291f05c6041522c0c07d2c79c31accdaf4e3..dbdba8a1561b91c421d9d189f11c4285909e52d2 100644 (file)
@@ -323,23 +323,22 @@ of the letter's ASCII code.
 
 Example:
 
-(page located at `http://www.formpost.com/getthis/`)
+(say if `http://example.com` had the following html)
 
 ```html
 <form action="post.cgi" method="post">
-<input name=user size=10>
-<input name=pass type=password size=10>
-<input name=id type=hidden value="blablabla">
-<input name=ding value="submit">
+  <input name=user size=10>
+  <input name=pass type=password size=10>
+  <input name=id type=hidden value="blablabla">
+  <input name=ding value="submit">
 </form>
 ```
 
 We want to enter user `foobar` with password `12345`.
 
-To post to this, you enter a curl command line like:
+To post to this, you would enter a curl command line like:
 
-    curl -d "user=foobar&pass=12345&id=blablabla&ding=submit"
-      http://www.formpost.com/getthis/post.cgi
+    curl -d "user=foobar&pass=12345&id=blablabla&ding=submit" http://example.com/post.cgi
 
 While `-d` uses the application/x-www-form-urlencoded mime-type, generally
 understood by CGI's and similar, curl also supports the more capable