bdaigle

Problem using proxy page to post data when token is embedded in application

Discussion created by bdaigle on Feb 26, 2011
Latest reply on Mar 2, 2011 by rlwatson
I have a service with an embedded, long-lived token.  I just ran into an instance where I have a map request that's longer than 2048 characters so the API is trying to post the request via our proxy page.  When this happens, I get an "Invalid token" response.  I have tested the proxy page and it works just fine when the service is not secured.  I think the problem is...


  • When I send the regular get request, the Request Header Host is set to the gis server

  • When I send the request via the proxy page, the Request Header Host is set to the web server.

I'm not sure if this is the problem or even related, but this is the only real difference I can seem to find between the get and the post requests.   Anyone have any thoughts or suggestions?

Outcomes