Use new Modules Controller

pull/95/head
Juan C. Montes 2018-02-23 10:10:58 +01:00 committed by GitHub
parent 2cb4f2bb51
commit df9b4f7f75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2059,7 +2059,7 @@ curl --header "Authorization: <APIKEY> " --header "Accept: application/json" --h
]
~~~
### POST /modules/query
### POST /modules/queryEnrichment
Call any enabled module.
#### Example
@ -2075,7 +2075,7 @@ Content of dns.json
Query using MISP API
~~~bash
curl --header "Authorization: <APIKEY> " --header "Accept: application/json" --header "Content-Type: application/json" --data @dns.json -X POST http://<MISP>/modules/query
curl --header "Authorization: <APIKEY> " --header "Accept: application/json" --header "Content-Type: application/json" --data @dns.json -X POST http://<MISP>/modules/queryEnrichment
~~~
The output will be following JSON: