HTTP Settings¶
The settings for an HTTP request.
Version¶
Available from version 1.5
Examples¶
Minimalist example
1<httpRequest>
2 <uri>http://somewhere.com</uri>
3</httpRequest>
Full example
1<httpRequest>
2 <method>GET</method>
3 <uri>http://somewhere.com/</uri>
4 <useDefaultCredentials>false</useDefaultCredentials>
5</httpRequest>
Configuration Elements¶
| Element | Description | Type | Required | Default | Version |
| body | The body of the request to send. | String | No | None | 1.5 |
| credentials | The credentials to use in the request. | NetworkCredential | No | None | 1.5 |
| headers | The HTTP headers to send. | HTTP Request Header array | No | None | 1.5 |
| method | The method to use. This can be any valid HTTP method, e.g. GET, POST, etc. |
String | No | GET | 1.5 |
| readWriteTimeout | The read/write timeout period. | Timeout Configuration | No | None | 1.5 |
| sendFile | A file to send in the request. | String | No | None | 1.5 |
| timeout | The timeout period before cancelling the request. | Timeout Configuration | No | None | 1.5 |
| uri | The URL to make the request to. | Uri | Yes | n/a | 1.5 |
| useDefaultCredentials | Whether to use the default credentials or not. | Boolean | No | false | 1.5 |
Automatically Generated¶
Documentation generated on Monday, 26 May 2014 at 7:18:03 AM