#!/bin/sh
#
# Sample for network configuration data / wired network data.
# This is a sample demonstrating how to get the wired network data.
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/network/wired/"
# Sample result:
# {"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"}