mirror of
https://github.com/curl/curl.git
synced 2025-01-24 14:15:18 +08:00
docs/TheArtOfHttpScripting: fix example POST URL
Closes https://github.com/curl/curl/pull/8352
This commit is contained in:
parent
3267ac40da
commit
0d0ff37e35
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user