Skip to main content

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
NAMETYPEDESCRIPTION
urlstringAddress 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
NAMETYPEDESCRIPTION
urlstringAddress to be submitted.
dataConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
urlstringAddress to be submitted.
dataValuesData 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
NAMETYPEDESCRIPTION
dataConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
dataValuesData 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
NAMETYPEDESCRIPTION
urlstringAddress 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
NAMETYPEDESCRIPTION
urlstringAddress to be submitted.
dataConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
urlstringAddress to be submitted.
dataValuesData 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
NAMETYPEDESCRIPTION
dataConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
dataValuesData 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 )


getHostAddress


_remote.getHostAddress(host: string) : string

Attributes
NAMETYPEDESCRIPTION
hoststring
Return

( string )


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 )


hostAddress


_remote.hostAddress(host: string) : string

Description

Get the IP address of a host.

Attributes
NAMETYPEDESCRIPTION
hoststringHost name.
Return

( string )

Host IP address.


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
NAMETYPEDESCRIPTION
configNamestringName 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
NAMETYPEDESCRIPTION
configNameValuesName 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
urlstringAddress 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
urlstringAddress to be submitted.
datastringData 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
urlstringAddress to be submitted.
dataConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
urlstringAddress to be submitted.
dataValuesData 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
NAMETYPEDESCRIPTION
urlstringAddress 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
NAMETYPEDESCRIPTION
urlstringAddress to be submitted.
dataConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
urlstringAddress to be submitted.
dataValuesData 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
NAMETYPEDESCRIPTION
dataConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
dataValuesData 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
NAMETYPEDESCRIPTION
hoststringServer name or IP.
Return

( boolean )

Result if address is available.


_remote.ping(host: string, timeout: int) : boolean

Description

Check whether the server name or IP is available.

Attributes
NAMETYPEDESCRIPTION
hoststringServer name or IP.
timeoutintTimeout to perform ping in milliseconds.
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
NAMETYPEDESCRIPTION
hoststringServer name or IP.
portintPort 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
NAMETYPEDESCRIPTION
urlstringAddress 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
NAMETYPEDESCRIPTION
urlstringAddress to be submitted.
dataConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
urlstringAddress to be submitted.
dataValuesData 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
NAMETYPEDESCRIPTION
dataConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
dataValuesData 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
NAMETYPEDESCRIPTION
urlstringAddress 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
NAMETYPEDESCRIPTION
urlstringAddress to be submitted.
dataConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
urlstringAddress to be submitted.
dataValuesData 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
NAMETYPEDESCRIPTION
dataConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
dataValuesData 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
NAMETYPEDESCRIPTION
alwaysDataBodybooleanDefines 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
NAMETYPEDESCRIPTION
authorizationstringContent 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
NAMETYPEDESCRIPTION
usernamestringUsername of the authorization to be submitted.
passwordstringPassword 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
NAMETYPEDESCRIPTION
binarybooleanIt 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
NAMETYPEDESCRIPTION
charsetstringCharacter encoding code.
Return

( Remote )

The current Remote instance.


setConnectTimeout


_remote.setConnectTimeout(timeout: int) : Remote

Description

Sets the timeout to stabilize the remote connection.

Attributes
NAMETYPEDESCRIPTION
timeoutintTimeout 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
NAMETYPEDESCRIPTION
contentTypestringContent 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
NAMETYPEDESCRIPTION
dataValuesParameter 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
NAMETYPEDESCRIPTION
requestHeaderstringStandard 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
NAMETYPEDESCRIPTION
followRedirectsbooleanWhether or not to follow redirects
Return

( Remote )

The current Remote instance.


setFormData


_remote.setFormData(data: Values) : org.netuno.psamata.net.Remote

Attributes
NAMETYPEDESCRIPTION
dataValues
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
NAMETYPEDESCRIPTION
requestHeaderValuesHeader 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
NAMETYPEDESCRIPTION
dataValuesParameter 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
NAMETYPEDESCRIPTION
qsValues
Return

( org.netuno.psamata.net.Remote )


setReadTimeout


_remote.setReadTimeout(timeout: int) : Remote

Description

Sets the time limit for reading data.

Attributes
NAMETYPEDESCRIPTION
timeoutintTimeout 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
NAMETYPEDESCRIPTION
soapActionstringSOAP 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
NAMETYPEDESCRIPTION
soapNSstringSOAP 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
NAMETYPEDESCRIPTION
soapURLstringSOAP 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
NAMETYPEDESCRIPTION
urlstringAddress to be submitted.
Return

( Remote )

The current Remote instance.


setURLPrefix


_remote.setURLPrefix(urlPrefix: string) : org.netuno.psamata.net.Remote

Attributes
NAMETYPEDESCRIPTION
urlPrefixstring
Return

( org.netuno.psamata.net.Remote )


soap11


_remote.soap11(soapMethod: string) : Values

Attributes
NAMETYPEDESCRIPTION
soapMethodstring
Return

( Values )


_remote.soap11(soapMethod: string, data: Values) : Values

Attributes
NAMETYPEDESCRIPTION
soapMethodstring
dataValues
Return

( Values )


soap12


_remote.soap12(soapMethod: string) : Values

Attributes
NAMETYPEDESCRIPTION
soapMethodstring
Return

( Values )


_remote.soap12(soapMethod: string, data: Values) : Values

Attributes
NAMETYPEDESCRIPTION
soapMethodstring
dataValues
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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
urlstringAddress 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
urlstringAddress to be submitted.
datastringData 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
urlstringAddress to be submitted.
querystringConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
urlstringAddress to be submitted.
querystringConfig | Exec | Header | Req | Res | Values | DataSchemaData for the querystring.
contentTypestringContent type code.
datastringData 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
urlstringAddress to be submitted.
querystringValuesData 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
urlstringAddress to be submitted.
querystringValuesData for the querystring.
contentTypestringContent type code.
datastringData 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
urlstringAddress to be submitted.
dataConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
urlstringAddress to be submitted.
dataValuesData 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
dataConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
dataValuesData 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
urlstringAddress to be submitted.
dataConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
urlstringAddress to be submitted.
dataValuesData 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
dataConfig | Exec | Header | Req | Res | Values | DataSchemaData 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
NAMETYPEDESCRIPTION
methodstringHTTP method code.
dataValuesData map to be submitted.
Return

( RemoteResponse )

Submission response, with status, header, content, etc.