Skip to content


Request formats#

TheHive accepts several parameter formats within a HTTP request. They can be used indifferently. Input data can be: - a query string - URL-encoded form - multi-part - JSON

Hence, the requests below are equivalent.

Query String#

curl -XPOST ''

URL-encoded Form#

curl -XPOST '' -d user=me -d password=secret


curl -XPOST -H 'Content-Type: application/json' -d '{
  "user": "me",
  "password": "secret"


curl -XPOST -F '_json=<-;type=application/json' << _EOF_
  "user": "me",
  "password": "secret"

Response Format#

TheHive outputs JSON data.

Last update: March 2, 2021 12:39:03