HTTP request component is implementing the HTTP protocol.
The above code will retrieve the first page of testphp site. If no errors were encountered, it will log the response headers received.
Adds a request header.
Sends the prepared request.
Resets all the values from the request.
Read and write property of the type URL which holds the URL to which the request should be made.
The HTTP verb as string which should be sent to the server.
String value containing the response body after Send returned.
Integer HTTP status from the response. It is only valid after Send returned.
String value containing the response headers after Send returned.
String property which holds the data should be sent with the request. It is useful for POST requests.
String property with the HTTP username. Authentication method is automatically resolved by the component.
String property with the HTTP password.
Read only boolean property which after a call to Send will return true if no errors has been encoutered while sending the request and receiving the response.
Read only string property which is set to the error encountered when ResponseCanBeProcessed property is false.