<?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: Rest API Splunk in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Rest-API-Splunk/m-p/538447#M9661</link>
    <description>&lt;P&gt;I've disabled notification with&lt;/P&gt;&lt;P&gt;import urllib3&lt;BR /&gt;urllib3.disable_warnings()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it looks like that problem is located in scrypt, can you help me how to fix it?&lt;/P&gt;</description>
    <pubDate>Wed, 03 Feb 2021 12:24:57 GMT</pubDate>
    <dc:creator>bosseres</dc:creator>
    <dc:date>2021-02-03T12:24:57Z</dc:date>
    <item>
      <title>Rest API Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Rest-API-Splunk/m-p/538443#M9660</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;I just learning Splunk and Python so feel sorry for silly questions &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I made scrypt on python&lt;/P&gt;&lt;P&gt;import requests&lt;/P&gt;&lt;P&gt;data = {&lt;BR /&gt;'username': 'admin',&lt;BR /&gt;'password': 'password'&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;response = requests.post('https://ip/services/auth/login', data=data, verify=False)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and trying to run it:&amp;nbsp;./splunk cmd python curl1.py&lt;/P&gt;&lt;P&gt;but there is a error with SSL&lt;/P&gt;&lt;P&gt;/opt/splunk/lib/python3.7/site-packages/urllib3/connectionpool.py:986: InsecureRequestWarning: Unverified HTTPS request is being made to host '10.22.22.207'. Adding certificate verification is strongly advised. See: &lt;A href="https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings" target="_blank"&gt;https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings&lt;/A&gt;&lt;BR /&gt;InsecureRequestWarning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me how can I fix it. Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 12:03:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Rest-API-Splunk/m-p/538443#M9660</guid>
      <dc:creator>bosseres</dc:creator>
      <dc:date>2021-02-03T12:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Rest-API-Splunk/m-p/538447#M9661</link>
      <description>&lt;P&gt;I've disabled notification with&lt;/P&gt;&lt;P&gt;import urllib3&lt;BR /&gt;urllib3.disable_warnings()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it looks like that problem is located in scrypt, can you help me how to fix it?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 12:24:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Rest-API-Splunk/m-p/538447#M9661</guid>
      <dc:creator>bosseres</dc:creator>
      <dc:date>2021-02-03T12:24:57Z</dc:date>
    </item>
  </channel>
</rss>

