Download URL
Download a file from an external web service, API, or web endpoint. You can import this system service from Grexx Marketplace.
Input
Use a casetype activity to add inputs to the Start Systemservice download URL form.
| Attribute | Data type | Mandatory? | Description |
|---|---|---|---|
| filename | String | Yes | The name of the file to download (including the extension). |
| Ignore errors | Boolean | No | |
| url | String | Yes | The URL of the file to download. |
| Authentication options | |||
| Authentication type | String | Yes | Supported values: none, basic, basic_direct, and basic_bearer. |
| Authentication user | String | No | User name. |
| Authentication password | String | No | Password. If using basic_bearer, use this field to send the bearer token. |
| Request options | |||
| Body | String | No | The body of the request. |
| Content-type | String | No | MIME type. |
| Headers | JSON | No | Any headers you want to include. |
| HTTP method | String | No | The following methods have been implemented: GET, POST, PUT, HEAD, DELETE. If not specified, GET is used by default. |
Output
Outputs are added to the Result Systemservice download URL form when the Systemservice - Download URL case is closed.
| Attribute | Data type | Mandatory? | Description |
|---|---|---|---|
| file | File | No | The downloaded file. |
| Return code | Integer | No | HTTP status code. |