Fix sample command

This commit is contained in:
Alfredo Cardigliano 2022-03-04 12:04:43 +01:00
parent 62658ccc7b
commit e3b408ac27

View file

@ -10,7 +10,7 @@ local json = require "dkjson"
--
-- Run a live traffic capture
-- Example: curl -u admin:admin -H "Content-Type: application/json" -d '{"ifid": "1", "bpf_filter": "" }' http://localhost:3000/lua/rest/v2/get/pcap/traffic_extraction.lua
-- Example: curl -u admin:admin -H "Content-Type: application/json" -d '{"ifid": "1", "duration": 10, "bpf_filter": "" }' http://localhost:3000/lua/rest/v2/get/pcap/live_traffic.lua
--
-- NOTE: in case of invalid login, no error is returned but redirected to login
--