<?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: Web Tools Add on (TA-webtools): Curl command sends error in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Web-Tools-Add-on-TA-webtools-Curl-command-sends-error/m-p/419462#M51144</link>
    <description>&lt;P&gt;Please try the latest version of the app 1.2.4 which contains many bug fixes.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/4146"&gt;https://splunkbase.splunk.com/app/4146&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2019 15:47:05 GMT</pubDate>
    <dc:creator>jkat54</dc:creator>
    <dc:date>2019-08-02T15:47:05Z</dc:date>
    <item>
      <title>Web Tools Add on (TA-webtools): Curl command sends error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Web-Tools-Add-on-TA-webtools-Curl-command-sends-error/m-p/419456#M51138</link>
      <description>&lt;P&gt;I am using this app &lt;A href="https://splunkbase.splunk.com/app/4146"&gt;https://splunkbase.splunk.com/app/4146&lt;/A&gt;&lt;BR /&gt;
The curl command is not picking up  &lt;CODE&gt;method=POST&lt;/CODE&gt; and always returning  &lt;CODE&gt;error 405&lt;/CODE&gt; and&lt;BR /&gt;&lt;BR /&gt;
&lt;CODE&gt;{"error":{"detail":"GET method not supported for API","message":"Method not Supported"},"status":"failure"}&lt;/CODE&gt;&lt;BR /&gt;
I used this command&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval header="{\"Content-Type\":\"application/json\", \"Accept\":\"application/json\"}" 
| curl method=post uri=url-rest-api user=username pass=password headerfield= header
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now I am not sure how to make a POST call to an external API from Splunk search. Every time it is being detected as GET.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 01:14:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Web-Tools-Add-on-TA-webtools-Curl-command-sends-error/m-p/419456#M51138</guid>
      <dc:creator>suser2019</dc:creator>
      <dc:date>2019-06-12T01:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Web Tools Add on (TA-webtools): Curl command sends error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Web-Tools-Add-on-TA-webtools-Curl-command-sends-error/m-p/419457#M51139</link>
      <description>&lt;P&gt;You need to edit curl.py as shown here:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/738867/web-tools-add-on-ta-webtools-curl-command-throws-a.html"&gt;https://answers.splunk.com/answers/738867/web-tools-add-on-ta-webtools-curl-command-throws-a.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 10:39:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Web-Tools-Add-on-TA-webtools-Curl-command-sends-error/m-p/419457#M51139</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-06-12T10:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Web Tools Add on (TA-webtools): Curl command sends error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Web-Tools-Add-on-TA-webtools-Curl-command-sends-error/m-p/419458#M51140</link>
      <description>&lt;P&gt;I made the changes suggested in the link..  Here is what I see after this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| curl method=post uri=&amp;lt;servicenow-link-incident-creation&amp;gt; splunkauth=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;{"error":{"message":"Method not Supported","detail":"GET method not supported for API"},"status":"failure"}&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| curl method=post uri=&amp;lt;servicenow-link-incident-creation&amp;gt; splunkauth=true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;{"error":{"message":"User Not Authenticated","detail":"Required to provide Auth information"},"status":"failure"}&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 18:35:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Web-Tools-Add-on-TA-webtools-Curl-command-sends-error/m-p/419458#M51140</guid>
      <dc:creator>suser2019</dc:creator>
      <dc:date>2019-06-12T18:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Web Tools Add on (TA-webtools): Curl command sends error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Web-Tools-Add-on-TA-webtools-Curl-command-sends-error/m-p/419459#M51141</link>
      <description>&lt;P&gt;Are you trying to use my curl command to integrate with service now?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 21:56:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Web-Tools-Add-on-TA-webtools-Curl-command-sends-error/m-p/419459#M51141</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-06-12T21:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Web Tools Add on (TA-webtools): Curl command sends error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Web-Tools-Add-on-TA-webtools-Curl-command-sends-error/m-p/419460#M51142</link>
      <description>&lt;P&gt;yes I am .. would you foresee an issue?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 00:32:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Web-Tools-Add-on-TA-webtools-Curl-command-sends-error/m-p/419460#M51142</guid>
      <dc:creator>suser2019</dc:creator>
      <dc:date>2019-06-13T00:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Web Tools Add on (TA-webtools): Curl command sends error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Web-Tools-Add-on-TA-webtools-Curl-command-sends-error/m-p/419461#M51143</link>
      <description>&lt;P&gt;You should be able to do it yes, but there's an app for service now.  Why not use it instead?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 10:41:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Web-Tools-Add-on-TA-webtools-Curl-command-sends-error/m-p/419461#M51143</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-06-13T10:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Web Tools Add on (TA-webtools): Curl command sends error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Web-Tools-Add-on-TA-webtools-Curl-command-sends-error/m-p/419462#M51144</link>
      <description>&lt;P&gt;Please try the latest version of the app 1.2.4 which contains many bug fixes.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/4146"&gt;https://splunkbase.splunk.com/app/4146&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 15:47:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Web-Tools-Add-on-TA-webtools-Curl-command-sends-error/m-p/419462#M51144</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-08-02T15:47:05Z</dc:date>
    </item>
  </channel>
</rss>

