<?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: While using splunk Rest api getting 404 error in authentication in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/While-using-splunk-Rest-api-getting-404-error-in-authentication/m-p/584842#M203728</link>
    <description>&lt;P&gt;Are you able to get a response when you hit this as a plain curl request?&lt;/P&gt;</description>
    <pubDate>Sat, 12 Feb 2022 09:33:12 GMT</pubDate>
    <dc:creator>KumaarJai</dc:creator>
    <dc:date>2022-02-12T09:33:12Z</dc:date>
    <item>
      <title>While using splunk Rest api getting 404 error in authentication</title>
      <link>https://community.splunk.com/t5/Splunk-Search/While-using-splunk-Rest-api-getting-404-error-in-authentication/m-p/584841#M203727</link>
      <description>&lt;P&gt;to do Splunk search with the help of API I am getting 404 error while doing this call&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;response = &lt;/SPAN&gt;&lt;SPAN&gt;self&lt;/SPAN&gt;&lt;SPAN&gt;.session.get(&lt;/SPAN&gt;&lt;SPAN&gt;self&lt;/SPAN&gt;&lt;SPAN&gt;.base_url + &lt;/SPAN&gt;&lt;SPAN&gt;'/servicesNS/'&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;SPAN&gt;self&lt;/SPAN&gt;&lt;SPAN&gt;.username+&lt;/SPAN&gt;&lt;SPAN&gt;'/search/auth/login'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;=payload)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;can someone please tell me why this is happening?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 12 Feb 2022 09:30:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/While-using-splunk-Rest-api-getting-404-error-in-authentication/m-p/584841#M203727</guid>
      <dc:creator>test_accenture</dc:creator>
      <dc:date>2022-02-12T09:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: While using splunk Rest api getting 404 error in authentication</title>
      <link>https://community.splunk.com/t5/Splunk-Search/While-using-splunk-Rest-api-getting-404-error-in-authentication/m-p/584842#M203728</link>
      <description>&lt;P&gt;Are you able to get a response when you hit this as a plain curl request?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Feb 2022 09:33:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/While-using-splunk-Rest-api-getting-404-error-in-authentication/m-p/584842#M203728</guid>
      <dc:creator>KumaarJai</dc:creator>
      <dc:date>2022-02-12T09:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: While using splunk Rest api getting 404 error in authentication</title>
      <link>https://community.splunk.com/t5/Splunk-Search/While-using-splunk-Rest-api-getting-404-error-in-authentication/m-p/584844#M203729</link>
      <description>&lt;P&gt;Firstly, I'm not sure if you can call the auth/login in such namespace.&lt;/P&gt;&lt;P&gt;The API reference says only about&lt;/P&gt;&lt;PRE&gt;https://&amp;lt;host&amp;gt;:&amp;lt;mPort&amp;gt;/services/auth/login&lt;/PRE&gt;&lt;P&gt;But more importantly, the auth/login endpoint only supports POST requests. You don't GET from it.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Feb 2022 09:54:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/While-using-splunk-Rest-api-getting-404-error-in-authentication/m-p/584844#M203729</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-02-12T09:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: While using splunk Rest api getting 404 error in authentication</title>
      <link>https://community.splunk.com/t5/Splunk-Search/While-using-splunk-Rest-api-getting-404-error-in-authentication/m-p/584846#M203731</link>
      <description>&lt;P&gt;if I am trying this query with a post request I am getting unauthorized 401 error&lt;/P&gt;</description>
      <pubDate>Sat, 12 Feb 2022 11:00:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/While-using-splunk-Rest-api-getting-404-error-in-authentication/m-p/584846#M203731</guid>
      <dc:creator>test_accenture</dc:creator>
      <dc:date>2022-02-12T11:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: While using splunk Rest api getting 404 error in authentication</title>
      <link>https://community.splunk.com/t5/Splunk-Search/While-using-splunk-Rest-api-getting-404-error-in-authentication/m-p/584848#M203732</link>
      <description>&lt;P&gt;Are you sending proper authentication data? &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.4/RESTREF/RESTaccess#auth.2Flogin" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.4/RESTREF/RESTaccess#auth.2Flogin&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Feb 2022 11:56:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/While-using-splunk-Rest-api-getting-404-error-in-authentication/m-p/584848#M203732</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-02-12T11:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: While using splunk Rest api getting 404 error in authentication</title>
      <link>https://community.splunk.com/t5/Splunk-Search/While-using-splunk-Rest-api-getting-404-error-in-authentication/m-p/584849#M203733</link>
      <description>&lt;P&gt;do you mean my creds?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Feb 2022 13:13:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/While-using-splunk-Rest-api-getting-404-error-in-authentication/m-p/584849#M203733</guid>
      <dc:creator>test_accenture</dc:creator>
      <dc:date>2022-02-12T13:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: While using splunk Rest api getting 404 error in authentication</title>
      <link>https://community.splunk.com/t5/Splunk-Search/While-using-splunk-Rest-api-getting-404-error-in-authentication/m-p/584854#M203735</link>
      <description>&lt;P&gt;Yes. As shown in the examples in docs.&lt;/P&gt;&lt;P&gt;Oh, and does your user have the role/capability to use API?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Feb 2022 16:43:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/While-using-splunk-Rest-api-getting-404-error-in-authentication/m-p/584854#M203735</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-02-12T16:43:10Z</dc:date>
    </item>
  </channel>
</rss>

