I want to query their status from a script, but cannot get the authentication to work. (the switch uses the default "admin" user and "anel" password)
When I do
Code: Alles auswählen
curl "http://power-1.example.lan/strg.cfg?Auth:adminanel"
Code: Alles auswählen
401 Unauthorized: Password required
How should the authentication be sent for HTTP queries?
Thanks