DLI ISO32 Object Model Samples
No PDF version DLI ISO32 user guide Object model reference Object model samples REST-style API reference DLI type description JSON Reduce reference
12
 
1
#!/bin/sh
2
# 
3
# Sample for network configuration data / wired network data.
4
# 
5
# This is a sample demonstrating how to get the wired network data.
6
# 
7
8
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/network/wired/"
9
10
# Sample result:
11
# {"ip_address":"10.73.81.173","serve_dns":false,"protocol":"static","online":true,"gateway":"10.0.0.38","dns_servers":[],"mac_address":"7C:E1:FF:0E:0C:FD","netmask":"255.0.0.0"}
12