HttpRequest

Description

Class for sending HTTP requests and receiving server responses.

This activity returns the result of the request as a string which represents the body of the response. There are also out arguments to check the result code or possible errors texts.


Login

AuthType EAuthType?

This parameter allows you to choose the type of authentication you want to use. Choose the one required by the service you want to call. Possible values are Base Auth, Ntlm Auth, Digest Auth or NULL.

The HTTP login for pages requiring a login/password authentication.

Password InArgument<String>

The HTTP password for pages requiring a login/password authentication.


Misc

ErrorText OutArgument<String>

The reason for a possible failure of the activity. If it is null, it means that the actiivty was successful.

StatusCode OutArgument<Int32>

The result status code of the request.


Request

The request headers to the HTTP request. If a header having the same field name is already present, this method replaces it.

The request's query parameters to the HTTP request. The name and value strings passed to this method should not be URL encoded.

Verb EVerb REQUIRED

The http method of the request.


Security

Default is false. Set to True to enable SSL security protocol.


Timeout

ConnectTimeout InArgument<Int32>

The amount of time in seconds to wait before timing out when connecting to an HTTP server. The default ConnectTimeout is 30 seconds.

ReadTimeout InArgument<Int32>

The amount of time in seconds to wait before timing out when reading from an HTTP server. The ReadTimeout is the amount of time that needs to elapse while no additional data is forthcoming. During a long download, if the data stream halts for more than this amount, it will timeout. Otherwise, there is no limit on the length of time for the entire download. The default value is 60 seconds.


Url

Domain InArgument<String> REQUIRED

The domain of the address where to execute the request.

the path of the resource on which you want to search.

The port of the resource for the request.