Forum Discussion
Aug 04, 2015
Hi!
Had the pleasure of borrowing a charger so I could test the rule. I made a mistake in the one I sent to you above. Sorry about that, I should've tested it. 🙂
Try this one instead (to show the entries):
when HTTP_REQUEST {
set response ""
foreach tablename [table keys -subtable "metatable"] {
foreach $key [table keys -subtable $tablename] {
set value [table lookup -notouch -subtable $tablename $key]
set response "$response
$key = $value"
}
}
HTTP::respond 200 content $response
}
/Patrik