setRequestEntity
| scrapeableFile.setRequestEntity( String requestEntity ) (professional and enterprise editions only) |
| Description |
| Sets the complete value that will be sent in the POST payload portion of the request. This method allows you to set the entity portion of a POST request that would otherwise be set by designating parameters under the "Parameters" tab for a scrapeable file. This is rarely necessary, but can be useful in cases where an entire string of XML must be sent (e.g., in many AJAX applications). |
 |
| Example |
// Sets the request entitiy to an XML document. scrapeableFile.setRequestEntity( "<outerNode><innerNode>my data</innerNode></outerNode>" ); |
|
|
Recent comments
1 hour 49 min ago
1 hour 56 min ago
4 hours 2 min ago
23 hours 28 min ago
23 hours 44 min ago
1 day 33 min ago
1 day 41 min ago
1 day 51 min ago
1 day 1 hour ago
2 days 21 hours ago