2018.1

Table Of Contents
Note
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
l response
l status
l statusText
l timeout (ms). Default: 1 minute.
Supported methods
create() Creates a new instance of
ScriptableHTTPRequest.
l open(String method, String url, String
user, String password)
l open(String verb, String url, String
userName, String password, String[]
headers, String[] headervalues, String
requestBody)
Opens a HTTP request.
Note
If you don't use a user name and
password, pass empty strings:
request.open
("GET",url,"","");
l send()
l send(String requestBody)
Sends an HTTP request and returns the
HTTP status code. Blocked call.
Page 348