From: neutric <5984479+neutric@users.noreply.github.com> Date: Sun, 30 Jan 2022 01:46:38 +0000 (+0100) Subject: docs/TheArtOfHttpScripting: fix example POST URL X-Git-Tag: curl-7_82_0~166 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d0ff37e35646e3e07615d9a2bb931251ecb06d7;p=thirdparty%2Fcurl.git docs/TheArtOfHttpScripting: fix example POST URL Closes https://github.com/curl/curl/pull/8352 --- diff --git a/docs/TheArtOfHttpScripting.md b/docs/TheArtOfHttpScripting.md index 53946f3b72..a09a9ebb60 100644 --- a/docs/TheArtOfHttpScripting.md +++ b/docs/TheArtOfHttpScripting.md @@ -270,7 +270,7 @@ And to use curl to post this form with the same data filled in as before, we could do it like: - curl --data "birthyear=1905&press=%20OK%20" http://www.example.com/when.cgi + curl --data "birthyear=1905&press=%20OK%20" http://www.example.com/when/junk.cgi This kind of POST will use the Content-Type `application/x-www-form-urlencoded` and is the most widely used POST kind.