Skip to contents

POST for the Current V3 API

Usage

virustotal_POST(
  path,
  body = NULL,
  query = list(),
  key = vt_key(),
  encode = "json",
  ...
)

Arguments

path

path to the specific API service url

body

request body (file upload or JSON data)

query

query list

key

A character string containing the VirusTotal API key. Default: vt_key(), which reads VIRUSTOTAL_API_KEY and then the historical VirustotalToken.

encode

Body encoding. One of "json" (the default), "form" or "multipart".

...

Ignored. Earlier versions forwarded these to httr::POST; configure requests with the package options instead (see virustotal).

Value

list