<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 404 Accessing REST authetication page. in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/404-Accessing-REST-authetication-page/m-p/30238#M357</link>
    <description>&lt;P&gt;The base url for the REST endpoint should probably be &lt;CODE&gt;&lt;A href="https://localhost:8089" target="test_blank"&gt;https://localhost:8089&lt;/A&gt;&lt;/CODE&gt;. &lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2011 15:17:20 GMT</pubDate>
    <dc:creator>ziegfried</dc:creator>
    <dc:date>2011-06-17T15:17:20Z</dc:date>
    <item>
      <title>404 Accessing REST authetication page.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/404-Accessing-REST-authetication-page/m-p/30237#M356</link>
      <description>&lt;P&gt;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.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;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
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Jun 2011 15:11:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/404-Accessing-REST-authetication-page/m-p/30237#M356</guid>
      <dc:creator>graeme_fore</dc:creator>
      <dc:date>2011-06-17T15:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: 404 Accessing REST authetication page.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/404-Accessing-REST-authetication-page/m-p/30238#M357</link>
      <description>&lt;P&gt;The base url for the REST endpoint should probably be &lt;CODE&gt;&lt;A href="https://localhost:8089" target="test_blank"&gt;https://localhost:8089&lt;/A&gt;&lt;/CODE&gt;. &lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2011 15:17:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/404-Accessing-REST-authetication-page/m-p/30238#M357</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2011-06-17T15:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: 404 Accessing REST authetication page.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/404-Accessing-REST-authetication-page/m-p/30239#M358</link>
      <description>&lt;P&gt;You're right but I don't have ssl enabled on my test machine. Now I can connect but I am left with a completely separate SSL error. Meh.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2011 15:36:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/404-Accessing-REST-authetication-page/m-p/30239#M358</guid>
      <dc:creator>graeme_fore</dc:creator>
      <dc:date>2011-06-17T15:36:40Z</dc:date>
    </item>
  </channel>
</rss>

