getCurrentPOSTData
String scrapeableFile.getCurrentPOSTData ( )
Description
Retrieve the POST data.
Parameters
This method does not receive any parameters.
Return Values
Returns the POST data for the scrapeable file, as a string. If called after the file has been scraped the session variable token will be resolved to their values; otherwise, the tokens will simply be removed from the string.
Change Log
Version | Description |
---|---|
4.5 | Available for all editions. |
Examples
Collect POST data
// In script called "After file is scraped"
// Stores the POST data from the scrapeable file in the
// currentPOSTData variable.
currentPOSTData = scrapeableFile.getCurrentPOSTData();
// Stores the POST data from the scrapeable file in the
// currentPOSTData variable.
currentPOSTData = scrapeableFile.getCurrentPOSTData();
scraper on 07/16/2010 at 4:55 pm
- Printer-friendly version
- Login or register to post comments