<?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 Using Post Method in QueryTask in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-post-method-in-querytask/m-p/181787#M16876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i am developping a basic application in javascript. In my application i am using querytask. But problem is that my whereclause is too big. for example whereclause is like id in (id1,id2,id3,......,...,id200). So when i trying to query with this wherelcause even the request doesnt start. I searched on internet a little bit and everybody says that i need to use post method in my requests. But how can i use post methods. or if you know another solutions could you help me please? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mayildiz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Mar 2013 06:40:41 GMT</pubDate>
    <dc:creator>mehmetyildiz</dc:creator>
    <dc:date>2013-03-19T06:40:41Z</dc:date>
    <item>
      <title>Using Post Method in QueryTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-post-method-in-querytask/m-p/181787#M16876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i am developping a basic application in javascript. In my application i am using querytask. But problem is that my whereclause is too big. for example whereclause is like id in (id1,id2,id3,......,...,id200). So when i trying to query with this wherelcause even the request doesnt start. I searched on internet a little bit and everybody says that i need to use post method in my requests. But how can i use post methods. or if you know another solutions could you help me please? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mayildiz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 06:40:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-post-method-in-querytask/m-p/181787#M16876</guid>
      <dc:creator>mehmetyildiz</dc:creator>
      <dc:date>2013-03-19T06:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using Post Method in QueryTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-post-method-in-querytask/m-p/181788#M16877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;its not necessary to declare something explicitly in code to ensure that a POST is used for a request, the API does this automatically when appropriate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the caveat is that posting across domains requires a proxy (unless both the browser and web server support &lt;/SPAN&gt;&lt;A href="http://enable-cors.org/"&gt;CORS&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;do you have a valid &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/ags_proxy.html"&gt;proxy&lt;/A&gt;&lt;SPAN&gt; referenced in your application?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 15:00:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-post-method-in-querytask/m-p/181788#M16877</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-03-19T15:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using Post Method in QueryTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-post-method-in-querytask/m-p/181789#M16878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanx jgravois for your reply;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Soo i need to use proxy. But i want to ask a question. Proxy is only needed for security isn't it? I mean if my request is included too large query strings is that a security problem? Also want to ask that if i want to use proxy do i need to some changes on my mapservers or feature servers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 15:09:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-post-method-in-querytask/m-p/181789#M16878</guid>
      <dc:creator>mehmetyildiz</dc:creator>
      <dc:date>2013-03-19T15:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using Post Method in QueryTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-post-method-in-querytask/m-p/181790#M16879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;in Flex and Silverlight, a proxy is only useful for working with secure services.&amp;nbsp; in JavaScript it is also necessary if you'd like to POST across domains.&amp;nbsp; no need to change anything in your map services.&amp;nbsp; just check out the conceptual article about proxies that i linked to previously.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 18:16:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-post-method-in-querytask/m-p/181790#M16879</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-03-19T18:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using Post Method in QueryTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-post-method-in-querytask/m-p/181791#M16880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanx you jgravois for your answer. i should prapare a proxy page :). i got it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 06:53:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-post-method-in-querytask/m-p/181791#M16880</guid>
      <dc:creator>mehmetyildiz</dc:creator>
      <dc:date>2013-03-20T06:53:52Z</dc:date>
    </item>
  </channel>
</rss>

