Http_request
This HTTP tag allows you to create your own HTTP request method which can be used to do requests against non REST APIs such as WEBDAV which has special HTTP methods for creating directories, locking files, moving files, etc.
Children Tags
(http_config | headergroup | cookiegroup | cookie | header) {0,*} . entity
Events
http.[method] Event
body
the HTTP request data that was received along with the HTTP response.
headerout
each of the output headers received from the HTTP request response will generate an event with this attribute name as the prefix to the header attribute name. So if you had a header with the name X then your resulting event would be named event.headerout.x
bodysize
the size in bytes of the data that was received in the HTTP response.
status
the status code for the HTTP request.
bodyhash
the hash of the http.[method] data that was received along with the HTTP response.
headerin
each of the input headers for the HTTP request will have an event with this attribute name as the prefix to the header attribute name. So if you had a header with the name X then your resulting event would be named event.headerin.x
statusmsg
the status code for the HTTP request.
uri
the exact uri passed to the http request.
Required Attributes
uri
the uri is the exact hostname, port and path to where the following http request should be sent. The format looks like so: http://server:port/path
method
the name of the method to pass on the HTTP call.
Usage Examples
Example #1
<http_request method="MKCOL" uri="http://localhost/webdav/newfolder" />
Example #2
<http_request method="GET" uri="http://localhost/webdav/newfolder" />