AnsweredAssumed Answered

QueryTask Post vs Proxy

Question asked by thejus.kambi on Apr 28, 2017

Hello,

 

Could someone explain to me when will QueryTask use POST request and when it will use Proxy?

 

I have two application, In one application when I use a complex buffered geometry to query it uses the proxy as expected and from documentation here. However, the second application does a POST request directly, when I use the same geometry. Both the application are intranet applications, hosted on the same web server and accessing services from same GIS Server. I am using js version 3.13.

 

The first application is a using legacy style while the other is AMD. Would this make a difference?

 

Any help is appreciated.

Outcomes