<?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: GET VS POST in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/get-vs-post/m-p/4754#M115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, That did it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 May 2013 23:45:19 GMT</pubDate>
    <dc:creator>Leo_Kermes</dc:creator>
    <dc:date>2013-05-26T23:45:19Z</dc:date>
    <item>
      <title>GET VS POST</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/get-vs-post/m-p/4752#M113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I am trying to use the API to upload a custom-url-category, and my problem is that I have exced the length restriction of a HTML GET, So I tried doing a HTML PUT.&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #d12f1b;"&gt;&lt;SPAN style="color: #000000;"&gt;curl --insecure --form &lt;/SPAN&gt;"type=config"&lt;SPAN style="color: #000000;"&gt; --form &lt;/SPAN&gt;"action=edit"&lt;SPAN style="color: #000000;"&gt; --form &lt;/SPAN&gt;"xpath=$xpath"&lt;SPAN style="color: #000000;"&gt; --form &lt;/SPAN&gt;"element=$element"&lt;SPAN style="color: #000000;"&gt; --form &lt;/SPAN&gt;"key=$pkey"&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://$panorama/api/"&gt;https://$panorama/api/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But, I get 502 Bad Gateway - Does the PAN xml-api only GET??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 May 2013 07:38:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/get-vs-post/m-p/4752#M113</guid>
      <dc:creator>Leo_Kermes</dc:creator>
      <dc:date>2013-05-26T07:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: GET VS POST</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/get-vs-post/m-p/4753#M114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you should be using --data and --data-urlencode vs. --form.&amp;nbsp; URL-encode&lt;/P&gt;&lt;P&gt;everything except the key= parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;also see &lt;/SPAN&gt;&lt;A class="" href="https://live.paloaltonetworks.com/message/16433#16433"&gt;https://live.paloaltonetworks.com/message/16433#16433&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;that will work with either the Perl or Python panxapi program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 May 2013 16:39:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/get-vs-post/m-p/4753#M114</guid>
      <dc:creator>ksteves1</dc:creator>
      <dc:date>2013-05-26T16:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: GET VS POST</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/get-vs-post/m-p/4754#M115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, That did it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 May 2013 23:45:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/get-vs-post/m-p/4754#M115</guid>
      <dc:creator>Leo_Kermes</dc:creator>
      <dc:date>2013-05-26T23:45:19Z</dc:date>
    </item>
  </channel>
</rss>

