From: Martin Peck Date: Wed, 10 Jul 2024 14:58:28 +0000 (+0100) Subject: MANUAL.md: wrap two example urls that overrun styling X-Git-Tag: curl-8_9_0~66 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b7f2c66d7d49035538c6bde936d019d8a2ff9a62;p=thirdparty%2Fcurl.git MANUAL.md: wrap two example urls that overrun styling Closes #14149 --- diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 03de0eb397..33596663c1 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -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