Skip to content

Latest commit

 

History

History

scanii

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Description

Simple REST API that can scan submitted documents/files for the presence of threats

Example Request

  • Curl
curl -u APIKEY:SECRETKEY https://api.scanii.com/v2.1/ping
  • Raw
GET /v2.1/ping HTTP/1.1
Authorization: Basic QVBJS0VZOlNFQ1JFVEtFWQ==
Host: api.scanii.com

Response

  • Success
{
    "key" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "message" : "pong"
}
  • Error
{
    "error" : "Apologies but we could not authenticate this request."
}

Regex

  • API Key
[a-z0-9]{32}
  • Secret Key
[a-z0-9]{9}

Example key

  • API Key
tue3sv9hzsey1me4l7fwq3t46u5k8wag
  • Secret Key
tue3sv9hzs