Web Request 2

Executes a Web Request. Use this Connector to access a web page or interact with a REST service (where no specialized connector is available).

Revision History

2.0.0.0 Initial Release
2.0.0.1 Added conditional support for server trust and client certificates (requires new platform).
2.0.0.2 Multiple bug fixes
2.0.0.3 Fixed a null reference error
2.0.0.4 Fixed the error 'Cannot send a content-body with this verb-type. (System.Net.ProtocolViolationException)' when sending a GET request with an empty RequestBody

Properties

Connection

Type: Connection Input
The Connection Property

BaseUrl
Type: String
When provided, used as prefix to the URL in the Url Property.

ReturnFailureResponses
Type: Boolean
When true, indicates that the response body and headers should be returned even if the HTTP response code is not 200.

Method

Type: List Input
The Method Property

GET
POST
HEAD
PUT
DELETE
TRACE
OPTIONS
CONNECT
PATCH

Url

Type: String Input
The Url Property

RequestHeaders

Type: Multiline Text Input
The set of request headers, one per line in the form HeaderName: value

RequestBody

Type: Multiline Text Input
The RequestBody Property

StatusCode

Type: Object Output
The StatusCode Property

ResponseHeaders

Type: Multiline Text Output
The ResponseHeaders Property

ResponseBody

Type: Multiline Text Output
The ResponseBody Property

Remarks

This connector replaces Web Request and is based on C#'s HttpClient rather than the legacy HttpWebRequest. This is the preferred method for interacting with HTTP endpoints and new features will be added to it.