<?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: Having problems with the Palo Alto API with vm_eval 10.0.4 in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/having-problems-with-the-palo-alto-api-with-vm-eval-10-0-4/m-p/561767#M113813</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/318102"&gt;@hfakoor2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try &lt;A href="https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api/get-started-with-the-pan-os-xml-api/authenticate-your-api-requests" target="_self"&gt;authenticating your API request&lt;/A&gt;?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2023 03:33:00 GMT</pubDate>
    <dc:creator>JayGolf</dc:creator>
    <dc:date>2023-10-16T03:33:00Z</dc:date>
    <item>
      <title>Having problems with the Palo Alto API with vm_eval 10.0.4</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/having-problems-with-the-palo-alto-api-with-vm-eval-10-0-4/m-p/561517#M113774</link>
      <description>&lt;P&gt;I'm trying to make API calls.&amp;nbsp; Using XML pathing it works fine.&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN&gt;'/api/?type=config&amp;amp;action=get&amp;amp;xpath=/config/devices/entry[@name="localhost.localdomain"]/vsys/entry[@name="vsys1"]/rulebase/security/rules'&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;So actually I had 2 questions.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Is there a difference in functionality between the rest api calls and the xml pathing api calls? I'm assuming they both&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;read xml data, sdo there is no real difference?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Secondly when making API calls via restapi,&amp;nbsp; I used the thew web browser APi documentation, and it gave me the below to make a restapi call.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;http://**********/restapi/v10.0/Objects/Addresses&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;however I get this error:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;{"code":16,"message":"Not Authenticated","details":[{"@type":"CauseInfo","causes":[{"code":1,"module":"panui_auth","description":"Not Authenticated"}]}]}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;I'm not sure if someone could shed light on this for me to fix it?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Oct 2023 18:59:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/having-problems-with-the-palo-alto-api-with-vm-eval-10-0-4/m-p/561517#M113774</guid>
      <dc:creator>hfakoor2</dc:creator>
      <dc:date>2023-10-12T18:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Having problems with the Palo Alto API with vm_eval 10.0.4</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/having-problems-with-the-palo-alto-api-with-vm-eval-10-0-4/m-p/561767#M113813</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/318102"&gt;@hfakoor2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try &lt;A href="https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api/get-started-with-the-pan-os-xml-api/authenticate-your-api-requests" target="_self"&gt;authenticating your API request&lt;/A&gt;?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 03:33:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/having-problems-with-the-palo-alto-api-with-vm-eval-10-0-4/m-p/561767#M113813</guid>
      <dc:creator>JayGolf</dc:creator>
      <dc:date>2023-10-16T03:33:00Z</dc:date>
    </item>
  </channel>
</rss>

