<?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 Why am I getting &amp;quot;404 Not Found&amp;quot; for every REST API call? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-quot-404-Not-Found-quot-for-every-REST-API-call/m-p/280873#M53742</link>
    <description>&lt;P&gt;I am using the following query as per documentation:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k -u username:password &lt;A href="http://myhosthere:8000/services/search/jobs/" target="test_blank"&gt;http://myhosthere:8000/services/search/jobs/&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(obviously I replaced username, password, and myhosthere)&lt;/P&gt;

&lt;P&gt;And I get the following results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;404 Not Found
Return to Splunk home page
Page not found!
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which is the same message I get when I use a regular browser.&lt;BR /&gt;
So I understand that the URL is obviously wrong, so how do I get the right URL? Am I using incorrect documentation?&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2016 21:40:05 GMT</pubDate>
    <dc:creator>nsshey</dc:creator>
    <dc:date>2016-10-25T21:40:05Z</dc:date>
    <item>
      <title>Why am I getting "404 Not Found" for every REST API call?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-quot-404-Not-Found-quot-for-every-REST-API-call/m-p/280873#M53742</link>
      <description>&lt;P&gt;I am using the following query as per documentation:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k -u username:password &lt;A href="http://myhosthere:8000/services/search/jobs/" target="test_blank"&gt;http://myhosthere:8000/services/search/jobs/&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(obviously I replaced username, password, and myhosthere)&lt;/P&gt;

&lt;P&gt;And I get the following results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;404 Not Found
Return to Splunk home page
Page not found!
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which is the same message I get when I use a regular browser.&lt;BR /&gt;
So I understand that the URL is obviously wrong, so how do I get the right URL? Am I using incorrect documentation?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 21:40:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-quot-404-Not-Found-quot-for-every-REST-API-call/m-p/280873#M53742</guid>
      <dc:creator>nsshey</dc:creator>
      <dc:date>2016-10-25T21:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "404 Not Found" for every REST API call?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-quot-404-Not-Found-quot-for-every-REST-API-call/m-p/280874#M53743</link>
      <description>&lt;P&gt;Use port 8089, not 8000&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; curl -k -u username:password &lt;A href="http://myhosthere:8089/services/search/jobs/" target="test_blank"&gt;http://myhosthere:8089/services/search/jobs/&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Oct 2016 21:55:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-quot-404-Not-Found-quot-for-every-REST-API-call/m-p/280874#M53743</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2016-10-25T21:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "404 Not Found" for every REST API call?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-quot-404-Not-Found-quot-for-every-REST-API-call/m-p/280875#M53744</link>
      <description>&lt;P&gt;I'm also facing the same error.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 06:44:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-quot-404-Not-Found-quot-for-every-REST-API-call/m-p/280875#M53744</guid>
      <dc:creator>nchaturvedi</dc:creator>
      <dc:date>2019-05-15T06:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "404 Not Found" for every REST API call?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-quot-404-Not-Found-quot-for-every-REST-API-call/m-p/280876#M53745</link>
      <description>&lt;P&gt;The app may be hosted on that particular port!&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 06:45:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-quot-404-Not-Found-quot-for-every-REST-API-call/m-p/280876#M53745</guid>
      <dc:creator>nchaturvedi</dc:creator>
      <dc:date>2019-05-15T06:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "404 Not Found" for every REST API call?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-quot-404-Not-Found-quot-for-every-REST-API-call/m-p/280877#M53746</link>
      <description>&lt;P&gt;wherever the app app hosted the mgmt default port is 8089 so we need to use 8089 only for the rest, webui and rest api call ports are different&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 16:52:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-quot-404-Not-Found-quot-for-every-REST-API-call/m-p/280877#M53746</guid>
      <dc:creator>vishnu123sai</dc:creator>
      <dc:date>2020-04-16T16:52:45Z</dc:date>
    </item>
  </channel>
</rss>

