addHTTPParameter

scrapeableFile.addHTTPParameter( HTTPParameter parameter )
Description
Dynamically adds an HTTPParameter to the current scrapeable file. The HTTPParameter constructor is as follows: HTTPParameter( String key, String value, int sequence, int type ). Valid types for the constructor are TYPE_GET, TYPE_POST, and TYPE_FILE. Calling this method will have no effect unless it's invoked before the file is scraped.
Example
// Adds a new POST HTTP parameter to the current file.
scrapeableFile.addHTTPParameter
(
 new com.screenscraper.common.HTTPParameter
 (
  "key",
  "value",
  1,
  com.screenscraper.common.HTTPParameter.TYPE_POST
 )
);