<?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 Empty Content for API request in Other Usage</title>
    <link>https://community.splunk.com/t5/Other-Usage/Empty-Content-for-API-request/m-p/567225#M753</link>
    <description>&lt;P&gt;- name: splunk jobid receive api call&lt;BR /&gt;uri:&lt;BR /&gt;url: https://{{ fis_apiBaseurl }}/services/search/jobs&lt;BR /&gt;method: POST&lt;BR /&gt;validate_certs: false&lt;BR /&gt;timeout: 360&lt;BR /&gt;force_basic_auth: yes&lt;BR /&gt;status_code: 201, 200 , 204&lt;BR /&gt;headers:&lt;BR /&gt;Accept: application/json&lt;BR /&gt;Content-Type: "application/json"&lt;BR /&gt;Authorization: " Bearer {{ fis_splunk_console_auth }}"&lt;BR /&gt;return_content: true&lt;BR /&gt;body: '{search = {{ data }}}'&lt;BR /&gt;#body_format: json&lt;BR /&gt;register: get_JobID&lt;BR /&gt;delegate_to: 127.0.0.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the above code and URL is&amp;nbsp;url: https://{{ fis_apiBaseurl }}/services/search/jobs&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using this job is ansible tower but i am getting content as blank where as return code is 200 .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ok: [100.73.4.110] =&amp;gt; {&lt;BR /&gt;"get_JobID": {&lt;BR /&gt;"cache_control": "no-store, no-cache, must-revalidate, max-age=0",&lt;BR /&gt;"changed": false,&lt;BR /&gt;"connection": "Close",&lt;BR /&gt;"content": "&amp;lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&amp;gt;\n&amp;lt;!--This is to override browser formatting; see server.conf[httpServer] to disable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . …&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me with URL or exact query&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Sep 2021 08:14:47 GMT</pubDate>
    <dc:creator>shambhavi1321</dc:creator>
    <dc:date>2021-09-16T08:14:47Z</dc:date>
    <item>
      <title>Empty Content for API request</title>
      <link>https://community.splunk.com/t5/Other-Usage/Empty-Content-for-API-request/m-p/567225#M753</link>
      <description>&lt;P&gt;- name: splunk jobid receive api call&lt;BR /&gt;uri:&lt;BR /&gt;url: https://{{ fis_apiBaseurl }}/services/search/jobs&lt;BR /&gt;method: POST&lt;BR /&gt;validate_certs: false&lt;BR /&gt;timeout: 360&lt;BR /&gt;force_basic_auth: yes&lt;BR /&gt;status_code: 201, 200 , 204&lt;BR /&gt;headers:&lt;BR /&gt;Accept: application/json&lt;BR /&gt;Content-Type: "application/json"&lt;BR /&gt;Authorization: " Bearer {{ fis_splunk_console_auth }}"&lt;BR /&gt;return_content: true&lt;BR /&gt;body: '{search = {{ data }}}'&lt;BR /&gt;#body_format: json&lt;BR /&gt;register: get_JobID&lt;BR /&gt;delegate_to: 127.0.0.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the above code and URL is&amp;nbsp;url: https://{{ fis_apiBaseurl }}/services/search/jobs&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using this job is ansible tower but i am getting content as blank where as return code is 200 .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ok: [100.73.4.110] =&amp;gt; {&lt;BR /&gt;"get_JobID": {&lt;BR /&gt;"cache_control": "no-store, no-cache, must-revalidate, max-age=0",&lt;BR /&gt;"changed": false,&lt;BR /&gt;"connection": "Close",&lt;BR /&gt;"content": "&amp;lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&amp;gt;\n&amp;lt;!--This is to override browser formatting; see server.conf[httpServer] to disable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . …&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me with URL or exact query&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 08:14:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Empty-Content-for-API-request/m-p/567225#M753</guid>
      <dc:creator>shambhavi1321</dc:creator>
      <dc:date>2021-09-16T08:14:47Z</dc:date>
    </item>
  </channel>
</rss>

