I am trying to run a saved search through the REST API. To test, I was trying to pull up a list.
https://pbdc-splk-01:8089/services/saved/searches
I've used the HttpRequester plugin for FIrefox, as well as used HttpWebRequest in VB.NET. Both I add authentication, and both are unable to connect. I have opened 8089 on the server's firewall. I have seen documentation on this, but see either server:port/servicesNS/admin/saved/seaches or server:port/services/saved/searches. I'm not sure what URL is correct. I've also tried HTTP and HTTPS.
Dim wr As Net.WebRequest = Net.WebRequest.Create("https://pbdc-splk-01:8089/services/saved/searches")
Dim ss As New Security.SecureString
'add password to ss variable'
wr.Credentials = New Net.NetworkCredential("admin", ss)
wr.Method = "GET"
Dim resp As Net.HttpWebResponse = wr.GetResponse()
↧