mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Add usage
This commit is contained in:
parent
a6f403d8bf
commit
a4cc439c8e
1 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,11 @@ local rest_utils = require "rest_utils"
|
|||
|
||||
sendHTTPContentTypeHeader('application/json')
|
||||
|
||||
--
|
||||
-- Test ntopng reachability and authentication (used by Python API)
|
||||
-- Example: curl -u admin:admin http://localhost:3000/lua/rest/v2/connect/test.lua
|
||||
--
|
||||
|
||||
local rc = rest_utils.consts.success.ok
|
||||
local res = {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue