MANUAL.md: change domain to example.com

Closes #11866
This commit is contained in:
John Haugabook 2023-09-15 20:36:21 -04:00 committed by Daniel Stenberg
parent f8cee8cc31
commit 9764bfc368
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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