QueryTask Post vs Proxy

549
0
04-28-2017 08:29 AM
thejuskambi
Occasional Contributor III

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.

0 Kudos
0 Replies