]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs/TheArtOfHttpScripting: fix example POST URL
authorneutric <5984479+neutric@users.noreply.github.com>
Sun, 30 Jan 2022 01:46:38 +0000 (02:46 +0100)
committerJay Satiro <raysatiro@yahoo.com>
Sun, 30 Jan 2022 06:52:51 +0000 (01:52 -0500)
Closes https://github.com/curl/curl/pull/8352

docs/TheArtOfHttpScripting.md

index 53946f3b72ebb994974c023d2e8378cb8de24dd9..a09a9ebb60493dc512bf51d57dbc5dfa7a9a9b93 100644 (file)
  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.