<?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: python script For rest api call in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Python-script-for-REST-API-call/m-p/475962#M8504</link>
    <description>&lt;P&gt;Hi, &lt;BR /&gt;
I have checked that app, it is showing need to  create python script for that&lt;/P&gt;</description>
    <pubDate>Thu, 12 Sep 2019 14:27:40 GMT</pubDate>
    <dc:creator>pal_sumit1</dc:creator>
    <dc:date>2019-09-12T14:27:40Z</dc:date>
    <item>
      <title>Python script for REST API call</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Python-script-for-REST-API-call/m-p/475960#M8502</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have a use case where I need to create an API connection and but the problem is we need to have an access token that we will supply in "HTTP Header Properties". This access token is created through another refresh token that can be done through putty or postman etc.. Now the main problem is, this access token is valid for only 10 mins and till 10 min we are getting the data in Splunk from that source. But after that time we need to again repeat the same process manually.&lt;/P&gt;
&lt;P&gt;I need to automate this process by adding a python script. The python script will run every 10 min to generate access token from refresh token and that access token then be used to get the data from the source.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 20:59:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Python-script-for-REST-API-call/m-p/475960#M8502</guid>
      <dc:creator>pal_sumit1</dc:creator>
      <dc:date>2020-06-17T20:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: python script For rest api call</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Python-script-for-REST-API-call/m-p/475961#M8503</link>
      <description>&lt;P&gt;Hi pal_sumit1,&lt;/P&gt;

&lt;P&gt;check out this app &lt;A href="https://splunkbase.splunk.com/app/1546/"&gt;https://splunkbase.splunk.com/app/1546/&lt;/A&gt; it supports refresh of the REST auth token.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 10:21:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Python-script-for-REST-API-call/m-p/475961#M8503</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-09-12T10:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: python script For rest api call</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Python-script-for-REST-API-call/m-p/475962#M8504</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
I have checked that app, it is showing need to  create python script for that&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 14:27:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Python-script-for-REST-API-call/m-p/475962#M8504</guid>
      <dc:creator>pal_sumit1</dc:creator>
      <dc:date>2019-09-12T14:27:40Z</dc:date>
    </item>
  </channel>
</rss>

