curl --resolve 'panel:443:192.168.10.5' -k -X GET https://panel/rest/configuration
Hostname can be set to * in recent versions of curl, it's even more handy:
curl --resolve '*:443:192.168.10.5' -k -X GET https://panel/rest/configuration
curl --resolve 'panel:443:192.168.10.5' -k -X GET https://panel/rest/configuration
Hostname can be set to * in recent versions of curl, it's even more handy:
curl --resolve '*:443:192.168.10.5' -k -X GET https://panel/rest/configuration