User Community Service Desk Downloads
If you can't find the product or version you're looking for, visit support.ataccama.com/downloads

HTTP Get

HTTP Get icon

This task is used to download a resource via HTTP(S) protocol. A URL resource or a URL must be defined.

If the URL resource is used, then credentials for authorization can be defined in the Url Resource configuration. If the URL is used, then credentials for authorization can be defined in the User Name and Password properties.

The task sends requests until it receives the HTTP 200 OK status code, or until it exceeds the number of requests specified in the Retry property.

To use the HTTPS protocol, make sure you import the certificate to the Java truststore file: <JAVA_HOME>/lib/security/cacerts.

Properties

Name Type Description Expression support

Url Resource

mandatory

Implementation and configuration of URL Resource. Possible implementations: URL Expression, URL Resource Bean.

none

File Name

mandatory

Path to a file where the result of a request is saved. The file can be local, on Amazon S3 or Azure Data Lake Storage Gen1 server and on HDFS (if your product contains ONE Spark DPE).

Remote resources are accessible with the resource://<resourceName>/<path>/<inputFile> syntax.

semi-expression

Overwrite Flag

optional;

Default value: false.

Permission to overwrite target file. The task fails when Overwrite Flag is false and File Name already exists.

none

Polling Interval (ms)

optional; Default value: 1000.

The interval to wait between two requests. Value higher than zero required.

none

Retry

optional

Default value: 1.

Specifies how many times a request is re-sent before the task fails.

none

Http Headers

optional

Set of user defined parameters to pass to the request header.

none

Use Post Method

optional

When enabled, the task uses the HTTP POST method. Additional parameters can be defined in Post Params.

none

Post Params

optional

Set of user defined parameters to pass to POST request.

none

URL expression

Name Type Description Expression support

Url

mandatory

URL must contain the protocol identifier (HTTP and HTTPS is supported).

expression

User Name

optional

Username used for authorization. It is used only with URL.

none

Password

optional

Password used for authorization; can be plain text or encrypted (recommended). The workflow editor encrypts password automatically. It is used only with URL.

none

URL resource bean

Name Type Description Expression support

Url Resource Name

mandatory

Name of the Runtime Configuration to be used.

semi-expression

HTTP headers properties

Name Type Description Expression support

Parameters

optional

Set of user defined parameters to pass to the request header.

none

POST params properties

Name Type Description Expression support

Parameters

optional

Set of user defined parameters to pass to POST request.

none

Parameters properties

Name Type Description Expression support

Name

mandatory

Name of the parameter.

semi-expression

Expression

mandatory

Expression evaluating the value of the parameter.

expression

Examples

Example using the URL Resource
Example using the URL

Was this page useful?