void scrapeableFile.setForcedRequestType ( ScrapeableFile.RequestType type ) (professional and enterprise editions only)


Sets the request type to use.


  • type The type of request to issue, or null to let screen-scraper decide.

    ScrapeableFile.RequestType is an enum with the following options as values

    • GET
    • POST
    • HEAD
    • DELETE

    If the method sets the request to one of those types, all paramenters set as GET in the paramenters tab will be appended to the url (like normal) and all parameters set as POST parameters will be used to buld the request entity. If there are POST values on a type that doesn't support a request entity an exception will be thrown when the request is issued.

Return Values

Returns void.

Change Log

Version Description
6.0.55a Available in Professional and Enterprise editions.


Sets the request type