Fix rest/v1/get/interface/l7/stats.lua example

This commit is contained in:
Alfredo Cardigliano 2020-08-25 15:39:01 +02:00
parent 0eaf407514
commit d4979f8c87

View file

@ -10,7 +10,7 @@ local rest_utils = require("rest_utils")
--
-- Read statistics about nDPI application protocols on an interface
-- Example: curl -u admin:admin -d '{"ifid": "1"}' http://localhost:3000/lua/rest/v1/get/interface/l7/stats.lua
-- Example: curl -u admin:admin -d '{"ifid": "1", "ndpistats_mode": "count"}' http://localhost:3000/lua/rest/v1/get/interface/l7/stats.lua
--
-- NOTE: in case of invalid login, no error is returned but redirected to login
--