Example of an HTTP request to check a URL

The following example shows an HTTP request to check a URL:

POST /api/v3.0/checkurl HTTP/1.0

Content-Type: application/octet-stream

Content-Length: 50

 

{

"timeout": "10000",

"url": "http:\/\/bug.qainfo.ru\/TesT\/Aphish_w"

}

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:15:44 GMT

Content-Length: 104

 

{

"url": "http:\/\/bug.qainfo.ru\/TesT\/Aphish_w",

"scanResult": "DETECTED",

"detectionName": "PHISHING_URL"

}

where:

Page top