<http-param name="param_name"
isfile="isfile"
contenttype="contenttype"
filename="filename">
body as parameter value
</http-param>
| Name | Required | Default | Description |
|---|---|---|---|
| name | yes | The name of HTTP parameter. | |
| isfile | no | no | Tells if parameter is file for upload (applies only to multipart requests). |
| contenttype | no | MIME type of the upload file (effective for multipart forms where parameter is file). | |
| filename | no | Name of uploaded file (effective for multipart forms where parameter is file). |
<var-def name="paramNames">
USERID
PASSWORD
</var-def>
<http method="post" url="http://www.nytimes.com/auth/login">
<http-param name="is_continue">true</http-param>
<http-param name="URI">http://</http-param>
<http-param name="OQ"></http-param>
<http-param name="OP"></http-param>
<loop item="name">
<list>
<var name="paramNames"/>
</list>
<body>
<http-param name="${name}">web-harvest</http-param>
</body>
</loop>
</http>
Sends needed parameters to www.nytimes.com/auth/login in order to log in.