URL
|
The URL to fetch. The URL string must be URI-encoded (in a URI-encoded string
a space is shown as %20).
The tool detects the protocol to use for the request automatically from the URL:
if the URL starts with 'https://', the tool will use HTTPS, otherwise HTTP will be
used.
Example 1 (entered using the ‘Single-line text with variables’ editor);
assumes the job name can contain only ASCII alphabetic characters and digits:
https://api-content.dropbox.com/1/files_put/auto/[Job.Name]
Example 2 (entered using the 'Script expression' editor):
HTTP.encodeURI( "https://api-content.dropbox.com/1/files_put/auto/" +
job.getName() );
|
| Request type |
The type of the request.The supported
request types are:
- PUT (used for uploading data)
- GET (used for downloading data)
- POST (used for uploading with extra parameters)
|
| Attached file |
This property is available only if Request type is POST or
PUT.
A file to append to request if the POST or PUT requests are used. The file will
be uploaded to the server.
|
| Use MIME encoding |
This property is available only if Request type is POST.
To use MIME encoding, choose Yes; otherwise choose
No (default).
|
| File variable |
This property is available only if Request type is POST and
Use MIME encoding is Yes.
The name of the HTTP form data variable that is used by the receiving HTTP server
to identify the correct file part of the uploaded MIME package.
|
| Authentication scheme |
The authentication scheme to use when server authorization is required.
If the property is set to None (default), no authentication is
performed.
If this property is set to Basic, the User name and Password
properties must be set, and in this case the element will attempt basic
authentication.
If the authentication scheme is set to Digest, NTLM or
Negotiate, digest, NTLM or Negotiate authentication will be attempted
instead.
If the authentication scheme is set to Proprietary, the authorization
token must be supplied through the Authorization property.
If the authentication scheme is set to OAuth, the authorization string
must be supplied through Authorization property.
|
| User name |
This property is available only if Authentication scheme is Basic,
Digest, NTLM or Negotiate.
A user name if authentication is to be used.
|
| Password |
This property is available only if Authentication scheme is Basic,
Digest, NTLM or Negotiate.
A password if authentication is to be used.
|
| Authorization |
This property is available only if Authentication scheme is
Proprietary or OAuth.
The authorization string to be sent to the server.
|
| Parameters |
The parameters to attach to the request. Each parameter should be specified in a
separate line by the string 'key=value' (without quotes).
The parameters are URI-encoded automatically. For the POST and PUT requests, the
parameters are included in the HTTP request after the HTTP headers. For the GET
request the parameters are appended to the URL after the question mark ('?').
Example:
root=auto
path=[Job.JobState]
|
| Response |
The response received from the server is
always saved to a file. This property defines how to handle this file:
|
| File Name |
This property is available only if Response is Inject as new job or
Assemble in jobfolder.
The file name (with an extension) to use for the response file.
Automatic: The tool will attempt to determine the file name from the
Content-Disposition header of the server response. If the Content-Disposition
header is missing or does not contain a valid file name, the tool will use the
default file name "Response".
|
| Input job |
This property is available only if Response is Inject as new
job.
Defines what to do with the input job in case the response file is injected as a
new job:
|