AnsweredAssumed Answered

urlUtils.addProxyRule doesn't permit POST requests

Question asked by robymes on Jan 8, 2014
Latest reply on Jan 10, 2014 by JGravois-esristaff
I'm using urlUtils.addProxyRule for a service and I cannot understand why every request is a GET request.
the problem is that if I try to use a QueryTask using a large polygon as param, it doesn't send a POST request, but it tries to send a GET request: obviously the length of the URL is more than 2000 chars and it doesn't work (the polygon has a large number of vertexes in its ring).
it seems that using urlUtils.addProxyRule the API doesn't recognize that if the request params are too large, it has to use a POST request and not another GET.

Outcomes