Lasso Soft Inc. > Home

[ CURLOPT_POST ]

Method

Use with [curl->set]. When set to 1 tells the library to do a regular HTTP post. This will also make the library use a "Content-Type: application/x-www-form-urlencoded" header. (This is by far the most commonly used POST method).

Use one of [CURLOPT_POSTFIELDS[ or [CURLOPT_COPYPOSTFIELDS] options to specify what data to post and [CURLOPT_POSTFIELDSIZE] or [CURLOPT_POSTFIELDSIZE_LARGE] to set the data size.

You can override the default POST Content-Type: header by setting your own with [CURLOPT_HTTPHEADER].

  • Syntax
curl->set(CURLOPT_POST,1)
Examples

No examples found

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft