The following example shows an HTTP request to scan a block of memory:
POST /api/v3.0/scanmemory HTTP/1.0 Content-Type: application/octet-stream Content-Length: 105
{ "timeout": "10000", "object": "WDVPIVAlQEFQWzRcUFpYNTQoUF4pN0NDKTd9JEVJQ0FSLVNUQU5EQVJELUFOVElWSVJVUy1URVNULUZJTEUhJEgrSCo=" } |
For a description of all possible fields in the request body, see section "Format of a scan POST request". For recommendations on how to increase the detection rate, see section "Increasing the detection rate".
The following example shows the corresponding response:
HTTP/1.0 200 OK Connection: close Content-Type: text/plain Server: KAVHTTPD/1.0 X-KAV-ProtocolVersion: 3 Date: Wed, 30 Jan 2019 16:08:12 GMT Content-Length: 72
{ "object": "memory", "scanResult": "DETECTED", "detectionName": "EICAR-Test-File" } |
For a description of all possible fields in the response body, see section "Format of a response to a scan POST request".
Page top