PUT
/
api
/
corscanner
/
scan
curl --request PUT \
  --url https://api.novasec.io/api/corscanner/scan \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "targetURL": "https://api.example.com",
  "targetId": "{targetId}",
  "vulnerabilityScanId": "{vulnerabilityScanId}",
  "subdomainXScanId": "{subdomainXScanId}",
  "headers": "X-Header: test;; Cookies: SESS_ID=eyJ...",
  "delay": 123,
  "timeout": 7
}'

Authorizations

X-API-Key
string
headerrequired

Body

application/json
targetURL
string
targetId
string
vulnerabilityScanId
string
subdomainXScanId
string
headers
string
delay
integer
timeout
integer