Example of an HTTP request to scan a block of memory

The following example shows an HTTP request to scan a block of memory:

POST /scanmemory HTTP/1.0

Content-Length: 35

X-KAV-ProtocolVersion: 1

X-KAV-Timeout: 10

 

* Contents of 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: 64

Connection: close

Content-Type: text/plain

X-KAV-ProtocolVersion: 1

 

DETECT EICAR-Test-File

You can also make a multipart scan request.

Page top