curl::option CurlHandle,"HTTPPOST","name=Desade+Marquis"
Use this option to specify form data in case of complex HTTP POST operation. As third argument specify a string as POST data. You can specify many post data calling the curl::option function with this option in successive calls. The string argument should have the following format:
This can be used to specify textual form data. This is like what the browser sends to the web server when an <input type=text name="name" value="content"> is used.
This can be used to specify a file to upload. This is like what the browser sends to the web server when an <input type=file name="name"> is used.
Add a form field named name with the contents as read from the local files named filename1 and filename2. This is identical to the previous, except that you get the contents of several files in one section.
Whenever you specify a file to read from, you can optionally specify the content-type as well. The content-type is passed to the server together with the contents of the file. The underlying CURL library will guess content-type for a number of well-known extensions and otherwise it will set it to binary. You can override the internal decision by using this option.
When you specify several files to read the contents from, you can set the content-type for all of them in the same way as with a single file.