<?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 What is the recommended POST syntax for Gaia REST API? in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/What-is-the-recommended-POST-syntax-for-Gaia-REST-API/m-p/34075#M2085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;In &lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk143612#SDK"&gt;sk143612&lt;/A&gt;, the syntax for a POST to the Gaia REST API is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;https://&amp;lt;your-server-ip&amp;gt;/&lt;SPAN style="background-color: #ffffff; font-size: 14px;"&gt;gaia_api&lt;/SPAN&gt;/&amp;lt;command&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;However, the online documentation included once the Gaia API is installed shows the syntax as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;A class="unlinked" style="color: #000000;"&gt;https://&amp;lt;server-ip&amp;gt;:&amp;lt;port&amp;gt;/gaia_api&lt;SPAN style="color: #ff0000;"&gt;/v1/&lt;/SPAN&gt;&amp;lt;command&amp;gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;IMG class="image-1 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/78508_pastedImage_5.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;What is the recommended syntax?&amp;nbsp; With the /v1/ or without?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2019 21:39:33 GMT</pubDate>
    <dc:creator>phlrnnr</dc:creator>
    <dc:date>2019-02-15T21:39:33Z</dc:date>
    <item>
      <title>What is the recommended POST syntax for Gaia REST API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/What-is-the-recommended-POST-syntax-for-Gaia-REST-API/m-p/34075#M2085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;In &lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk143612#SDK"&gt;sk143612&lt;/A&gt;, the syntax for a POST to the Gaia REST API is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;https://&amp;lt;your-server-ip&amp;gt;/&lt;SPAN style="background-color: #ffffff; font-size: 14px;"&gt;gaia_api&lt;/SPAN&gt;/&amp;lt;command&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;However, the online documentation included once the Gaia API is installed shows the syntax as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;A class="unlinked" style="color: #000000;"&gt;https://&amp;lt;server-ip&amp;gt;:&amp;lt;port&amp;gt;/gaia_api&lt;SPAN style="color: #ff0000;"&gt;/v1/&lt;/SPAN&gt;&amp;lt;command&amp;gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;IMG class="image-1 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/78508_pastedImage_5.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;What is the recommended syntax?&amp;nbsp; With the /v1/ or without?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2019 21:39:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/What-is-the-recommended-POST-syntax-for-Gaia-REST-API/m-p/34075#M2085</guid>
      <dc:creator>phlrnnr</dc:creator>
      <dc:date>2019-02-15T21:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: What is the recommended POST syntax for Gaia REST API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/What-is-the-recommended-POST-syntax-for-Gaia-REST-API/m-p/34076#M2086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am going to recommend with v1 and here's why: upgrades to the API.&lt;/P&gt;&lt;P&gt;If you use the version number in the API call, you should always get the same behavior, even as the API is updated.&lt;/P&gt;&lt;P&gt;If you don't include the version number, I believe it will always default to the latest version, which may change behavior as the API evolves.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2019 23:03:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/What-is-the-recommended-POST-syntax-for-Gaia-REST-API/m-p/34076#M2086</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-02-15T23:03:20Z</dc:date>
    </item>
  </channel>
</rss>

