MANUAL.md: wrap two example urls that overrun styling

Closes #14149
This commit is contained in:
Martin Peck 2024-07-10 15:58:28 +01:00 committed by Daniel Stenberg
parent bf251cc0d2
commit b7f2c66d7d
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -309,7 +309,8 @@ Post a simple `name` and `phone` guestbook.
Or automatically [URL encode the data](https://everything.curl.dev/http/post/url-encode).
curl --data-urlencode "name=Rafael Sagula&phone=3320780" http://www.example.com/guest.cgi
curl --data-urlencode "name=Rafael Sagula&phone=3320780"
http://www.example.com/guest.cgi
How to post a form with curl, lesson #1:
@ -343,7 +344,8 @@ We want to enter user `foobar` with password `12345`.
To post to this, you would enter a curl command line like:
curl -d "user=foobar&pass=12345&id=blablabla&ding=submit" http://example.com/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