mirror of https://github.com/MISP/misp-book
Use new Modules Controller
parent
2cb4f2bb51
commit
df9b4f7f75
|
@ -2059,7 +2059,7 @@ curl --header "Authorization: <APIKEY> " --header "Accept: application/json" --h
|
||||||
]
|
]
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
### POST /modules/query
|
### POST /modules/queryEnrichment
|
||||||
Call any enabled module.
|
Call any enabled module.
|
||||||
|
|
||||||
#### Example
|
#### Example
|
||||||
|
@ -2075,7 +2075,7 @@ Content of dns.json
|
||||||
Query using MISP API
|
Query using MISP API
|
||||||
|
|
||||||
~~~bash
|
~~~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:
|
The output will be following JSON:
|
||||||
|
|
Loading…
Reference in New Issue