Difference between revisions of "Nächste freie IP abfragen"

From
Jump to: navigation, search
(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...")
 
(No difference)

Latest revision as of 09:01, 23 October 2019

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/"