1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

edited the -d section slightly

This commit is contained in:
Daniel Stenberg 2003-12-03 14:09:29 +00:00
parent f7c8a57206
commit e2555cf83d

View File

@ -165,9 +165,9 @@ that can emulate as if a user has filled in a HTML form and pressed the submit
button. Note that the data is sent exactly as specified with no extra button. Note that the data is sent exactly as specified with no extra
processing (with all newlines cut off). The data is expected to be processing (with all newlines cut off). The data is expected to be
\&"url-encoded". This will cause curl to pass the data to the server using the \&"url-encoded". This will cause curl to pass the data to the server using the
content-type application/x-www-form-urlencoded. Compare to -F. If more than content-type application/x-www-form-urlencoded. Compare to -F. If this option
one \fI-d/--data\fP option is used on the same command line, the data pieces is used more than once on the same command line, the data pieces specified
specified will be merged together with a separating &-letter. Thus, using '-d will be merged together with a separating &-letter. Thus, using '-d
name=daniel -d skill=lousy' would generate a post chunk that looks like name=daniel -d skill=lousy' would generate a post chunk that looks like
\&'name=daniel&skill=lousy'. \&'name=daniel&skill=lousy'.