List of HttpRequest methods
The following are the available HttpRequest class methods.
| Method | Description |
|---|---|
| AddField | Add a form field to the request |
| AddHeader | Add a request header |
| AddLongstring | Add a longstring to POST data for this request |
| AddXml | Add an XmlDoc to POST data for this request |
| AutoSendXmlContentType | Automatic content-type header generation? |
| FieldCount | Number of fields in the current request |
| Get | Send an HTTP GET request to the server |
| HeaderCount | Number of headers in this request |
| Host | Target web server |
| HttpVersion | Set HTTP protocol version for requests |
| LineEnd | Line-end sequence for POSTed Stringlist data |
| MaxRedirects | Automatically handle redirects |
| MultiPartFormEncoding | Use Stringlists for data transfer? |
| New | Create a new HttpRequest object |
| Page | Relative page path |
| Port | Target server port number |
| Post | Send an HTTP POST request to the server |
| Print useful debug information | |
| Protocol | HTTP request protocol |
| Proxy | Permit use of proxy server? |
| RemoveAuthentication | Clear existing username/password credentials |
| RemoveProxy | Disable proxy server use |
| Send | Send an HTTP request to the server |
| SetAuthentication | Issue username/password credentials |
| Timeout | Set timeout (in seconds) for HTTP method call |
| URL | Target HTTP request URL |