Remote
Recurso de invocação remota de APIs. O Remote facilita esta integração e torna simples a integração com web services externos via REST e SOAP.
acceptJSON
_remote.acceptJSON() : Remote
Description
Defines that the content will be received in the application/json.
Return
( Remote )
The current Remote instance.
alwaysBodyData
_remote.alwaysBodyData() : Remote
Description
Forces data to go in the body of the HTTP header, even in the case of the GET
method.
Return
( Remote )
The current Remote instance.
asBinary
_remote.asBinary() : Remote
Description
Defines that the content data received by the remote connection is in binary format, such as downloading files, images, zip, etc...
Return
( Remote )
The current Remote instance.
asForm
_remote.asForm() : Remote
Description
Defines that the data content will be submitted in the application/x-www-form-urlencoded format.
Return
( Remote )
The current Remote instance.
asJSON
_remote.asJSON() : Remote
Description
Defines that the data content will be submitted in the application/json format.
Return
( Remote )
The current Remote instance.
asMultipartFormData
_remote.asMultipartFormData() : Remote
Description
Defines that the data content will be submitted in the multipart/form-data format.
Return
( Remote )
The current Remote instance.
asText
_remote.asText() : Remote
Description
Defines that the data content will be submitted in the text/plain format.
Return
( Remote )
The current Remote instance.
delete
_remote.delete() : RemoteResponse
Description
Submit the request for remote connection using the DELETE method.
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.delete(url: string) : RemoteResponse
Description
With the assigned address it submits the request for remote connection using the DELETE method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.delete(url: string, data: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
With the assigned address and data map, submit the request for remote connection using the DELETE method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
data | Config | Exec | Header | Req | Res | Values | DataSchema | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.delete(url: string, data: Values) : RemoteResponse
Description
With the assigned address and data map, submit the request for remote connection using the DELETE method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
data | Values | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.delete(data: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
With the map of assigned data it submits the request for remote connection through the DELETE method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Config | Exec | Header | Req | Res | Values | DataSchema | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.delete(data: Values) : RemoteResponse
Description
With the map of assigned data it submits the request for remote connection through the DELETE method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Values | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
get
_remote.get() : RemoteResponse
Description
Submit the request for remote connection using the GET method.
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.get(url: string) : RemoteResponse
Description
With the assigned address it submits the request for remote connection using the GET method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.get(url: string, data: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
With the assigned address and data map, submit the request for remote connection using the GET method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
data | Config | Exec | Header | Req | Res | Values | DataSchema | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.get(url: string, data: Values) : RemoteResponse
Description
With the assigned address and data map, submit the request for remote connection using the GET method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
data | Values | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.get(data: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
With the map of assigned data it submits the request for remote connection through the GET method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Config | Exec | Header | Req | Res | Values | DataSchema | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.get(data: Values) : RemoteResponse
Description
With the map of assigned data it submits the request for remote connection through the GET method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Values | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
getAuthorization
_remote.getAuthorization() : string
Return
( string )
getCharset
_remote.getCharset() : string
Return
( string )
getConnectTimeout
_remote.getConnectTimeout() : int
Return
( int )
getContentType
_remote.getContentType() : string
Return
( string )
getData
_remote.getData() : Values
Return
( Values )
getDefaultSubmitData
_remote.getDefaultSubmitData() : string
Return
( string )
getFormData
_remote.getFormData() : Values
Return
( Values )
getHeader
_remote.getHeader() : Values
Return
( Values )
getQS
_remote.getQS() : Values
Return
( Values )
getQueryString
_remote.getQueryString() : Values
Return
( Values )
getReadTimeout
_remote.getReadTimeout() : int
Return
( int )
getSOAPAction
_remote.getSOAPAction() : string
Return
( string )
getSOAPNS
_remote.getSOAPNS() : string
Return
( string )
getSOAPURL
_remote.getSOAPURL() : string
Return
( string )
getStatusCode
_remote.getStatusCode() : int
Return
( int )
getURL
_remote.getURL() : string
Return
( string )
getURLPrefix
_remote.getURLPrefix() : string
Return
( string )
init
_remote.init() : Remote
Description
Starts a new Remote.
Return
( Remote )
New Remote instance.
_remote.init(configName: string) : Remote
Description
Starts a new Remote based on the configuration key.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
configName | string | Name of the configuration that will be used. |
Return
( Remote )
New Remote instance.
_remote.init(configName: Values) : Remote
Description
Starts a new Remote based on the configuration key.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
configName | Values | Name of the configuration that will be used. |
Return
( Remote )
New Remote instance.
isAlwaysDataBody
_remote.isAlwaysDataBody() : boolean
Return
( boolean )
isBinary
_remote.isBinary() : boolean
Return
( boolean )
isFollowRedirects
_remote.isFollowRedirects() : boolean
Return
( boolean )
isForm
_remote.isForm() : boolean
Return
( boolean )
isJSON
_remote.isJSON() : boolean
Return
( boolean )
isMultipartFormData
_remote.isMultipartFormData() : boolean
Return
( boolean )
isText
_remote.isText() : boolean
Return
( boolean )
json
_remote.json(method: string, url: string) : RemoteResponse
Description
Through the HTTP method and assigned address it submits as JSON for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
url | string | Address to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.json(method: string, url: string, data: string) : RemoteResponse
Description
Through the HTTP method, address and assigned data map it submits the data as JSON for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
url | string | Address to be submitted. |
data | string | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.json(method: string, url: string, data: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
Through the HTTP method, address and assigned data map it submits the data as JSON for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
url | string | Address to be submitted. |
data | Config | Exec | Header | Req | Res | Values | DataSchema | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.json(method: string, url: string, data: Values) : RemoteResponse
Description
Through the HTTP method, address and assigned data map it submits the data as JSON for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
url | string | Address to be submitted. |
data | Values | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
patch
_remote.patch() : RemoteResponse
Description
Submit the request for remote connection using the PATCH method.
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.patch(url: string) : RemoteResponse
Description
With the assigned address it submits the request for remote connection using the PATCH method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.patch(url: string, data: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
With the assigned address and data map, submit the request for remote connection using the PATCH method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
data | Config | Exec | Header | Req | Res | Values | DataSchema | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.patch(url: string, data: Values) : RemoteResponse
Description
With the assigned address and data map, submit the request for remote connection using the PATCH method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
data | Values | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.patch(data: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
With the map of assigned data it submits the request for remote connection through the PATCH method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Config | Exec | Header | Req | Res | Values | DataSchema | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.patch(data: Values) : RemoteResponse
Description
With the map of assigned data it submits the request for remote connection through the PATCH method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Values | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
ping
_remote.ping(host: string) : boolean
Description
Check whether the server name or IP is available.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
host | string | Server name or IP. |
Return
( boolean )
Result if address is available.
portListening
_remote.portListening(host: string, port: int) : boolean
Description
Checks if the port is available for a server name or IP.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
host | string | Server name or IP. |
port | int | Port number. |
Return
( boolean )
Result if port is available.
post
_remote.post() : RemoteResponse
Description
Submit the request for remote connection using the POST method.
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.post(url: string) : RemoteResponse
Description
With the assigned address it submits the request for remote connection using the POST method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.post(url: string, data: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
With the assigned address and data map, submit the request for remote connection using the POST method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
data | Config | Exec | Header | Req | Res | Values | DataSchema | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.post(url: string, data: Values) : RemoteResponse
Description
With the assigned address and data map, submit the request for remote connection using the POST method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
data | Values | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.post(data: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
With the map of assigned data it submits the request for remote connection through the POST method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Config | Exec | Header | Req | Res | Values | DataSchema | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.post(data: Values) : RemoteResponse
Description
With the map of assigned data it submits the request for remote connection through the POST method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Values | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
put
_remote.put() : RemoteResponse
Description
Submit the request for remote connection using the PUT method.
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.put(url: string) : RemoteResponse
Description
With the assigned address it submits the request for remote connection using the PUT method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.put(url: string, data: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
With the assigned address and data map, submit the request for remote connection using the PUT method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
data | Config | Exec | Header | Req | Res | Values | DataSchema | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.put(url: string, data: Values) : RemoteResponse
Description
With the assigned address and data map, submit the request for remote connection using the PUT method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
data | Values | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.put(data: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
With the map of assigned data it submits the request for remote connection through the PUT method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Config | Exec | Header | Req | Res | Values | DataSchema | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.put(data: Values) : RemoteResponse
Description
With the map of assigned data it submits the request for remote connection through the PUT method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Values | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
setAlwaysBodyData
_remote.setAlwaysBodyData(alwaysDataBody: boolean) : Remote
Description
Forces data to go in the body of the HTTP header, even in the case of the GET
method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
alwaysDataBody | boolean | Defines whether the data should always go in the header body of the HTTP communication that will be sent over the remote connection. |
Return
( Remote )
The current Remote instance.
setAuthorization
_remote.setAuthorization(authorization: string) : Remote
Description
Defines the exact content of the authorization that will header the communication that will be sent on the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
authorization | string | Content of the authorization to be submitted. |
Return
( Remote )
The current Remote instance.
_remote.setAuthorization(username: string, password: string) : Remote
Description
Defines the content of the basic authorization with user and password that goes to the header of the communication that will be sent on the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
username | string | Username of the authorization to be submitted. |
password | string | Password of the authorization to be submitted. |
Return
( Remote )
The current Remote instance.
setBinary
_remote.setBinary(binary: boolean) : Remote
Description
Defines that the content data received by the remote connection is in binary format, such as downloading files, images, zip, etc...
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
binary | boolean | It will be downloading files. |
Return
( Remote )
The current Remote instance.
setCharset
_remote.setCharset(charset: string) : Remote
Description
Defines the character encoding to be used for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
charset | string | Character encoding code. |
Return
( Remote )
The current Remote instance.
setConnectTimeout
_remote.setConnectTimeout(timeout: int) : Remote
Description
Sets the timeout to stabilize the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
timeout | int | Timeout in milliseconds. |
Return
( Remote )
The current Remote instance.
setContentType
_remote.setContentType(contentType: string) : Remote
Description
Defines the type of content to be used for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
contentType | string | Content type code. |
Return
( Remote )
The current Remote instance.
setData
_remote.setData(data: Values) : Remote
Description
Defines the parameterization of the data that will be sent as content of the remote connection, via POST or PUT.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Values | Parameter map with data to be submitted. |
Return
( Remote )
The current Remote instance.
setDefaultSubmitData
_remote.setDefaultSubmitData(requestHeader: string) : Remote
Description
Defines the default data if there is no other data defined to be sent over the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
requestHeader | string | Standard data that will be submitted if there is no other data defined. |
Return
( Remote )
The current Remote instance.
setFollowRedirects
_remote.setFollowRedirects(followRedirects: boolean) : Remote
Description
Defines whether to follow redirects on the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
followRedirects | boolean | Whether or not to follow redirects |
Return
( Remote )
The current Remote instance.
setFormData
_remote.setFormData(data: Values) : org.netuno.psamata.net.Remote
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Values |
Return
( org.netuno.psamata.net.Remote )
setHeader
_remote.setHeader(requestHeader: Values) : Remote
Description
Defines the header of the request that is submitted on the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
requestHeader | Values | Header data of the request to be submitted. |
Return
( Remote )
The current Remote instance.
setQS
_remote.setQS(data: Values) : Remote
Description
Defines the parameterization of the query string data, that is, the parameters with data passed in the address of the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Values | Parameter map with data to be passed in the URL. |
Return
( Remote )
The current Remote instance.
setQueryString
_remote.setQueryString(qs: Values) : org.netuno.psamata.net.Remote
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
qs | Values |
Return
( org.netuno.psamata.net.Remote )
setReadTimeout
_remote.setReadTimeout(timeout: int) : Remote
Description
Sets the time limit for reading data.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
timeout | int | Timeout in milliseconds. |
Return
( Remote )
The current Remote instance.
setSOAPAction
_remote.setSOAPAction(soapAction: string) : Remote
Description
Defines the SOAP "action " (operation, method, etc.) of the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
soapAction | string | SOAP action (operation or method) that will be invoked on submission. |
Return
( Remote )
The current Remote instance.
setSOAPNS
_remote.setSOAPNS(soapNS: string) : Remote
Description
Define the SOAP namespace on the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
soapNS | string | SOAP namespace for submission. |
Return
( Remote )
The current Remote instance.
setSOAPURL
_remote.setSOAPURL(soapURL: string) : Remote
Description
Sets the SOAP address of the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
soapURL | string | SOAP Address to be submitted. |
Return
( Remote )
The current Remote instance.
setURL
_remote.setURL(url: string) : Remote
Description
Sets the address of the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Address to be submitted. |
Return
( Remote )
The current Remote instance.
setURLPrefix
_remote.setURLPrefix(urlPrefix: string) : org.netuno.psamata.net.Remote
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
urlPrefix | string |
Return
( org.netuno.psamata.net.Remote )
soap11
_remote.soap11(soapMethod: string) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
soapMethod | string |
Return
( Values )
_remote.soap11(soapMethod: string, data: Values) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
soapMethod | string | |
data | Values |
Return
( Values )
soap12
_remote.soap12(soapMethod: string) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
soapMethod | string |
Return
( Values )
_remote.soap12(soapMethod: string, data: Values) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
soapMethod | string | |
data | Values |
Return
( Values )
submit
_remote.submit(method: string, url: string) : RemoteResponse
Description
Through the HTTP method and assigned address it submits to the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
url | string | Address to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.submit(method: string, url: string, data: string) : RemoteResponse
Description
Through the HTTP method, address and assigned data, submit for remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
url | string | Address to be submitted. |
data | string | Data to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.submit(method: string, url: string, querystring: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
Through the HTTP method, address, query string, content type and assigned data, it submits to the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
url | string | Address to be submitted. |
querystring | Config | Exec | Header | Req | Res | Values | DataSchema | Data for the querystring. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.submit(method: string, url: string, querystring: Config | Exec | Header | Req | Res | Values | DataSchema, contentType: string, data: string) : RemoteResponse
Description
Through the HTTP method, address, query string, content type and assigned data, it submits to the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
url | string | Address to be submitted. |
querystring | Config | Exec | Header | Req | Res | Values | DataSchema | Data for the querystring. |
contentType | string | Content type code. |
data | string | Data to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.submit(method: string, url: string, querystring: Values) : RemoteResponse
Description
Through the HTTP method, address, query string, content type and assigned data, it submits to the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
url | string | Address to be submitted. |
querystring | Values | Data for the querystring. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.submit(method: string, url: string, querystring: Values, contentType: string, data: string) : RemoteResponse
Description
Through the HTTP method, address, query string, content type and assigned data, it submits to the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
url | string | Address to be submitted. |
querystring | Values | Data for the querystring. |
contentType | string | Content type code. |
data | string | Data to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
submitForm
_remote.submitForm(method: string, url: string, data: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
Through the HTTP method and assigned data map it submits the data as form for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
url | string | Address to be submitted. |
data | Config | Exec | Header | Req | Res | Values | DataSchema | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.submitForm(method: string, url: string, data: Values) : RemoteResponse
Description
Through the HTTP method and assigned data map it submits the data as form for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
url | string | Address to be submitted. |
data | Values | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.submitForm(method: string, data: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
Through the HTTP method and assigned data map it submits the data as form for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
data | Config | Exec | Header | Req | Res | Values | DataSchema | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.submitForm(method: string, data: Values) : RemoteResponse
Description
Through the HTTP method and assigned data map it submits the data as form for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
data | Values | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
submitJSON
_remote.submitJSON(method: string, url: string, data: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
Through the HTTP method, address and assigned data map it submits the data as JSON for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
url | string | Address to be submitted. |
data | Config | Exec | Header | Req | Res | Values | DataSchema | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.submitJSON(method: string, url: string, data: Values) : RemoteResponse
Description
Through the HTTP method, address and assigned data map it submits the data as JSON for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
url | string | Address to be submitted. |
data | Values | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.submitJSON(method: string, data: Config | Exec | Header | Req | Res | Values | DataSchema) : RemoteResponse
Description
Through the HTTP method and assigned data map it submits the data as JSON for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
data | Config | Exec | Header | Req | Res | Values | DataSchema | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.
_remote.submitJSON(method: string, data: Values) : RemoteResponse
Description
Through the HTTP method and assigned data map it submits the data as JSON for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
data | Values | Data map to be submitted. |
Return
( RemoteResponse )
Submission response, with status, header, content, etc.