mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
This commit is contained in:
parent
ff50067a3b
commit
3e13ef3f06
6 changed files with 17 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ local rest_utils = require("rest_utils")
|
|||
|
||||
--
|
||||
-- Retrieves all ntopng interfaces of a given host
|
||||
-- Example: curl -u admin:admin -H "Content-Type: application/json" -d '{"host" : "192.168.1.1"}' http://localhost:3000/lua/rest/v1/get/host/interfaces.lua
|
||||
-- Example: curl -u admin:admin -H "Content-Type: application/json" -d '{"ifid": "0", "host" : "192.168.1.1"}' http://localhost:3000/lua/rest/v2/get/host/processes/listening_ports.lua
|
||||
--
|
||||
-- NOTE: in case of invalid login, no error is returned but redirected to login
|
||||
--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue