<?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: FeatureLayer::query() - Force HTTP POST instead of GET? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayer-query-force-http-post-instead-of-get/m-p/1658355#M11735</link>
    <description>&lt;P&gt;I had a similar error using complex polygons and union() and I vaguely recall that this was due to be fixed in 2.4.2. I can't remember where I read that, but more than likely on the Esri GitHub.&lt;/P&gt;&lt;P&gt;EDIT: found links&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-python-api/issues/2345" target="_blank" rel="noopener"&gt;https://github.com/Esri/arcgis-python-api/issues/2345&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-python-api/issues/2334" target="_blank" rel="noopener"&gt;https://github.com/Esri/arcgis-python-api/issues/2334&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Further Edit:&lt;/P&gt;&lt;P&gt;My workaround, although I wasn't performing a similar workflow to yours, was to convert all geometry to Shapely geoms, use the Shapely functions for union/dissolve and convert back to ArcGIS API for Python type features.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Oct 2025 08:22:15 GMT</pubDate>
    <dc:creator>Clubdebambos</dc:creator>
    <dc:date>2025-10-16T08:22:15Z</dc:date>
    <item>
      <title>FeatureLayer::query() - Force HTTP POST instead of GET?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayer-query-force-http-post-instead-of-get/m-p/1658150#M11733</link>
      <description>&lt;P&gt;Hi, I ran into an issue earlier where the query() call would result in what looked like a JSON decoding error.&amp;nbsp; This is code that I'd run many, many times before, so I dug into it and the cause was an unusually complex polygon being passed in as a filter.&amp;nbsp; I copied the filter's geometry into the REST API web interface and GET failed, while POST behaved as expected, seemingly due to the data limit with HTTP GET.&lt;/P&gt;&lt;P&gt;I built in a workaround for this specific script, but is there a way to force query() to use POST rather than GET in the future?&amp;nbsp; If not, is there an existing idea for this?&amp;nbsp; (I looked but couldn't find one.)&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2025 18:08:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayer-query-force-http-post-instead-of-get/m-p/1658150#M11733</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2025-10-15T18:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer::query() - Force HTTP POST instead of GET?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayer-query-force-http-post-instead-of-get/m-p/1658355#M11735</link>
      <description>&lt;P&gt;I had a similar error using complex polygons and union() and I vaguely recall that this was due to be fixed in 2.4.2. I can't remember where I read that, but more than likely on the Esri GitHub.&lt;/P&gt;&lt;P&gt;EDIT: found links&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-python-api/issues/2345" target="_blank" rel="noopener"&gt;https://github.com/Esri/arcgis-python-api/issues/2345&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-python-api/issues/2334" target="_blank" rel="noopener"&gt;https://github.com/Esri/arcgis-python-api/issues/2334&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Further Edit:&lt;/P&gt;&lt;P&gt;My workaround, although I wasn't performing a similar workflow to yours, was to convert all geometry to Shapely geoms, use the Shapely functions for union/dissolve and convert back to ArcGIS API for Python type features.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 08:22:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayer-query-force-http-post-instead-of-get/m-p/1658355#M11735</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2025-10-16T08:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer::query() - Force HTTP POST instead of GET?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayer-query-force-http-post-instead-of-get/m-p/1659237#M11740</link>
      <description>&lt;P&gt;Adding to the response from&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/417766"&gt;@Clubdebambos&lt;/a&gt;&amp;nbsp;: This was fixed to allow for long url strings to be properly decoded in a GET request. The fix can be found in the 2.4.1.3 patch and the latest 2.4.2 release.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 01:25:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayer-query-force-http-post-instead-of-get/m-p/1659237#M11740</guid>
      <dc:creator>KenGalliher1</dc:creator>
      <dc:date>2025-10-21T01:25:24Z</dc:date>
    </item>
  </channel>
</rss>

