<?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: PAN OS REST API in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/pan-os-rest-api/m-p/599591#M119226</link>
    <description>&lt;P&gt;Thank you Bpry, your recommendation the curl command worked, I had to adjust the space in front of&amp;nbsp;&lt;SPAN&gt;X-PAN-KEY parameter.&lt;/SPAN&gt;&amp;nbsp; I am taking Udemy course and the instructor is using 9.0 code for the class.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone sent me this usage guide on PanOS and Panorama for working with objects:&amp;nbsp;&lt;A title="https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api" href="https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api" data-outlook-id="95db4796-8411-4042-a674-db9f54f3ac0e" target="_blank"&gt;https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 05 Oct 2024 13:00:47 GMT</pubDate>
    <dc:creator>Amin2</dc:creator>
    <dc:date>2024-10-05T13:00:47Z</dc:date>
    <item>
      <title>PAN OS REST API</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/pan-os-rest-api/m-p/599559#M119218</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I am just starting out and learning automation.&amp;nbsp; I am using PAN OS 10.2 on PA 820 lab device.&amp;nbsp; When I try to use a use the GET Method to query addresses, the restapi-doc shows: &lt;A href="https://10.x.x.x/restapi/v10.2/Objects/Addresses" target="_blank"&gt;https://10.x.x.x/restapi/v10.2/Objects/Addresses&lt;/A&gt;&amp;nbsp; .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don’t see the “"Invalid Query Parameter: key".&amp;nbsp; Could it be that my API key is bad or invalid?&amp;nbsp; Below is my curl command I was using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;curl -k -X GET "&lt;A href="https://10.x.x.x.x/restapi/v10.2/Objects/Addresseslocation=vsys&amp;amp;vsys=vsys1&amp;amp;key=LUF7************==" target="_blank"&gt;https://10.x.x.x.x/restapi/v10.2/Objects/Addresseslocation=vsys&amp;amp;vsys=vsys1&amp;amp;key=LUF7************==&lt;/A&gt;" | jq&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached the output response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;-Amin&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 16:19:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/pan-os-rest-api/m-p/599559#M119218</guid>
      <dc:creator>Amin2</dc:creator>
      <dc:date>2024-10-04T16:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: PAN OS REST API</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/pan-os-rest-api/m-p/599560#M119219</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/53900"&gt;@Amin2&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You won't use &amp;amp;key= with the REST API like you can with the XML API. With REST you're forced to actually use the X-PAN-KEY:&amp;lt;key&amp;gt; header for authentication.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 16:27:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/pan-os-rest-api/m-p/599560#M119219</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2024-10-04T16:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: PAN OS REST API</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/pan-os-rest-api/m-p/599591#M119226</link>
      <description>&lt;P&gt;Thank you Bpry, your recommendation the curl command worked, I had to adjust the space in front of&amp;nbsp;&lt;SPAN&gt;X-PAN-KEY parameter.&lt;/SPAN&gt;&amp;nbsp; I am taking Udemy course and the instructor is using 9.0 code for the class.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone sent me this usage guide on PanOS and Panorama for working with objects:&amp;nbsp;&lt;A title="https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api" href="https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api" data-outlook-id="95db4796-8411-4042-a674-db9f54f3ac0e" target="_blank"&gt;https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2024 13:00:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/pan-os-rest-api/m-p/599591#M119226</guid>
      <dc:creator>Amin2</dc:creator>
      <dc:date>2024-10-05T13:00:47Z</dc:date>
    </item>
  </channel>
</rss>

