options member

Options object used with the getExternalResource function.

Supported options are:
  • method: one of GET, PUT, DELETE, HEAD, OPTIONS, or POST. The default is GET.
  • HTTP and HTTPS urls are supported.
  • async: request should be sent asynchronously. The default is true.
  • headers: request headers to be sent with request.
  • data: data to be sent. If this is an array, it is converted to a query string. For a GET request, this is added to the end of the URL.
  • anonymous.complete is a callback function that will be invoked with the resultXHR when this method completes

Syntax

<static> options

Source

ExternalResource.js, line 270.