The following example shows an HTTP request to scan a local file:
POST /scanfile HTTP/1.0 Content-Length: 35 X-KAV-ProtocolVersion: 1 X-KAV-Timeout: 10
* Full path to the EICAR test file * |
If the file to scan is large, consider specifying the X-KAV-Timeout
header.
The following example shows the corresponding response:
HTTP/1.0 200 OK Date: Mon, 10 February 2014 12:25:21 GMT Server: KAVHTTPD Content-Length: 32 Connection: close Content-Type: text/plain X-KAV-ProtocolVersion: 1
DETECTED EICAR-Test-File |