Nächste freie IP abfragen

From
Revision as of 09:01, 23 October 2019 by Daniel (talk | contribs) (Created page with "<pre> TOKEN=`curl -X POST --user test:test1234 https://ip.netzwerk-profis.net/api/admin/user/ -i | grep -e 'token' | cut -d':' -f5 | cut -d'"' -f2` curl -X POST -H "token: $TO...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
TOKEN=`curl -X POST --user test:test1234 https://ip.netzwerk-profis.net/api/admin/user/ -i | grep -e 'token' | cut -d':' -f5 | cut -d'"' -f2`
curl -X POST -H "token: $TOKEN" -d 'hostname=Testrechner&custom_tftpd=172.16.0.1&custom_filename=pxelinux.0&owner=Daniel Meier&subnetId=8' "https://ip.netzwerk-profis.net/api/admin/addresses/first_free/"