I thought I'd try curl before implementing it in the client, but all queries end in
curl: (7) Failed connect to 192.168.0.101:17778; Connection timed out
I've read the "SWIS REST/JSON API" thread, but can't figure out, why it doesn't work.
This is what I tried on a laptop in the server network:
curl --user myuser:mypass https://192.168.0.101:17778/SolarWinds/InformationService/v3/Json/Query?query=SELECT+NodeID+FROM+Orion.Nodes
I can connect in and run the query from SWQL Studio (same user, pass) just fine. Does the user have to have a special permission or is there a special setting to enable the query-interface, maybe?
Update:
If I try to connect to https://192.168.0.101:17778/SolarWinds/InformationService in a Browser, I get "The connection has timed out, The server at 192.168.0.101 is taking too long to respond.", but both SWIS and SWIS V3 Services are running.
Solution:
It was a firewall issue, had to create an exception for port 17778 in the Windows Firewall on the server (see Open a port in Windows Firewall - Microsoft Windows Help ) or just disable it.