docs/TheArtOfHttpScripting: fix example POST URL

Closes https://github.com/curl/curl/pull/8352
This commit is contained in:
neutric 2022-01-30 02:46:38 +01:00 committed by Jay Satiro
parent 3267ac40da
commit 0d0ff37e35

View File

@ -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.