Example of an HTTP request to check a URL

March 5, 2024

ID 193004

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",

"hostIp": "233.252.0.1"

}

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": "DETECT",

"detectionName": "PHISHING_URL"

}

where:

  • url is the URL that was checked.
  • scanResult is the scan result and can have the following values:
    • CLEAN
    • DETECT
    • DISINFECTED
    • DELETED
    • NON_SCANNED
    • SERVER_ERROR
  • detectionName is the name of the detected malicious object in the Kaspersky classification system. It can have one of the following values:
    • PHISHING_URL
    • MALICIOUS_URL
    • ADWARE_URL
    • RISKWARE_URL

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.