Attempting to perform a basic log in using the services authentication page but I keep receiving a 404 response. I've used custom code and a slightly modified version of the basic python code provided on Splunk's page both to no avail. Here's the basic code.
import urllib
import httplib2
from xml.dom import minidom
baseurl = 'http://127.0.0.1:8000'
username = 'admin'
password = 'password'
serverContent = httplib2.Http().request(baseurl + '/services/auth/login',
'POST', headers={}, body=urllib.urlencode({'username':username, 'password':password}))[1]
print serverContent
... View more