|
createHTTPRequest()Function that creates a new ScriptableHTTPRequest object, in order to issue REST/AJAX calls to external servers. The returned ScriptableHTTPRequest has a selection of the properties and methods of the standard JavaScript XMLHTTPRequest object (see https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest). Supported properties and methods are listed below. It is not possible to use the async mode, which can be set via the
open() function of the ScriptableHTTPRequest (see https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open) in a data mapping configuration. Async-related properties and methods of the ScriptableHTTPRequest object - for example .onreadystatechange, .readyState and .ontimeout - are not supported.The reason for this is that by the time the response comes back from the server, the DataMapper script may have finished executing and gone out of scope. Supported properties
Supported methods
|
|