- or download this
use strict;
use warnings;
...
foreach my $line($data) {
print "$line\n";
}
- or download this
my $content = `curl --silent -k -u admin:pass https://url/api/v2/GetDe
+viceInfo?$ARGV[0]`;
$content =~ tr/"/ /;
$content =~ tr/,/\n/;
print "$content\n";
- or download this
"device":[{ host_info: { engine_id: null
name: null
...
remarks: null
id: 0}
...
- or download this
"device": [{
"host_info": {
...
}
}
...